|
Top Previous |
|
Radio buttons present a set of mutually exclusive options to the user; that is, only one radio button in a set can be selected at a time. Unit SRVRadioButton; Syntax TSRVRadioButton = 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 circle and Caption depends on Alignment: •taLeftJustify: the circle and the caption is aligned to the left, the circle is to the left of the caption; •taRightJustify: the circle and the caption is aligned to the right, the circle is to the right of the caption; •taCenter: the circle 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 circle is drawn using SkinManager.CurrentSkin.BoxSchemes[ButtonSkinSchemeIndex]. Example:
|