|
Top Previous Next |
|
The TSRVGroupBox component is used to group related controls. This component is similar to TSRVPanel. Unit SRVGroupBox; Syntax TSRVGroupBox = class(TSRVCustomControl) HierarchyTObject TPersistent TComponent TControl TWinControl TCustomControl Properties and eventsThis component publishes the following properties inherited from TSRVCustomControl: •Alignment (default value is taCenter); •DrawOnPrint; •SkinManager; •SkinSchemeIndex; •Color (default value $00B8D8D7); •properties inherited from TCustomControl. New published properties:
PaintingCaption is aligned according to Alignment. CaptionOffset shifts the text (to the right, if Alignment=taLeftJustify, or to the left, if Alignment=taRightJustify). Caption is placed vertically at the top. Background is drawn using Color property. Border is drawn using BorderColor, BorderWidth and CornersOffset properties (even in a skin mode). If SkinManager is assigned, the control is drawn using SkinManager.CurrentSkin.BoxSchemes[SkinSchemeIndex]. Example:
|