|
Top Previous Next |
|
TSRVCheckBox represents a check box that can be on (checked) or off (unchecked) Unit SRVCheckBox; Syntax TSRVCheckBox = class(TSRVCustomControl) HierarchyTObject TPersistent TComponent TControl TWinControl TCustomControl Properties and eventsThis component publishes the following properties inherited from TSRVCustomControl: •Alignment; •ButtonSkinSchemeIndex; •DrawOnPrint; •SkinManager; •SkinSchemeIndex; •properties inherited from TCustomControl. New published properties:
PaintingA position of the box and Caption depends on Alignment: •taLeftJustify: the box and the caption is aligned to the left, the box is to the left of the caption; •taRightJustify: the box and the caption is aligned to the right, the box is to the right of the caption; •taCenter: the box is in the middle, the caption is aligned to the left. If SkinManager is assigned, the control is drawn using SkinManager.CurrentSkin.BoxSchemes[SkinSchemeIndex], and the box is drawn using SkinManager.CurrentSkin.BoxSchemes[ButtonSkinSchemeIndex]. In this mode, a grayed state is not supported. Example:
|