|
Top Previous Next |
|
TSRVPanel implements a generic panel control. You can also use panels to group controls together. This component is similar to TSRVGroupBox. Unit SRVPanel; Syntax TSRVPanel = 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 horizontally according to Alignment. CaptionOffset shifts the text (to the right, if Alignment=taLeftJustify, or to the left, if Alignment=taRightJustify). Caption is placed vertically in the middle. 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:
|