Check Controls

TSDLCheckBase

TSDLCheckBase is base class TSDLCheckBox and TSDLRadioButton. It is a descendant of TSDLStdControl. They both have the same properties and they are all listed here, they just act a little bit diferent. Properties are:

property Checked:Boolean read FChecked write SetChecked;
Specifies whether the check box or radio button is checked.
property Caption : String read FCaption write FCaption;
Specifies the caption that appears by the check box.
property Alignment: TSDLAlignment read FAlignment write FAlignment;
Specifies where the caption will be drawn: left, right or above (center) the check box.
property OnChange: TSDLNotifyEvent read FOnChange write FOnChange;
This event is called when Checked property is changed.

TSDLRadioGroup

TSDLRadioGroup represents a group of radio buttons that function together. It is a descendant of TSDLControl. Properties are:

property RadioImage: TSDLImage read FRadioImage write SetRadioImage;
Image that will be assigned to every radio button.
property ItemIndex: Integer read FItemIndex write SetItemIndex;
Indicates which radio button in the group is currently selected.
property Items: TStringList read FItems write SetItems;
Lists the radio buttons in the radio group.
property Caption: string read FCaption write FCaption;
Caption of radio group itself.
property RadioWidth: Integer read FRWidth write SetRWidth;
Width of every radio button.
property RadioHeight: Integer read FRHeight write SetRHeight;
Height of every radio button.
property Color: Cardinal read FColor write FColor;
Color of radio group's background and border.