RAD Studio VCL Reference
|
TRadioGroup represents a group of radio buttons that function together.
TRadioGroup = class(TCustomRadioGroup);
class TRadioGroup : public TCustomRadioGroup;
ExtCtrls
A TRadioGroup object is a special group box that contains only radio buttons. Radio buttons that are placed directly in the same control component are said to be "grouped." When the user checks a radio button, all other radio buttons in its group become unchecked. Hence, two radio buttons on a form can be checked at the same time only if they are placed in separate containers, such as group boxes.
To add radio buttons to a TRadioGroup, edit the Items property in the Object Inspector. Each string in Items makes a radio button appear in the group box with the string as its caption. The value of the ItemIndex property determines which radio button is currently selected.
Display the radio buttons in a single column or in multiple columns by setting the Columns property.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|