RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomRadioGroup.Buttons Property

Access individual TRadioButton objects.

Pascal
property Buttons [Index: Integer]: TRadioButton;
C++
__property TRadioButton Buttons[int Index];

Buttons provides direct access to the individual TRadioButton objects created by the control. Buttons is a read-only property. This means you can access individual TRadioButton objects, but you cannot add or delete TRadioButton objects. To modify the button list, change the Items property. 

Index is the zero-origin button index. If Index is equal to or greater than the number of buttons, an error is raised. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!