Главная страница | назад





Article #16264: Radio Button Groups

 Question and Answer Database
FAQ1264C.txt Radio Button Groups
Category :VCL
Platform :All
Product :C++Builder 1.x
Question:
How do I group radio buttons on a form without
using a RadioGroup?
Answer:
RadioButtons are groups when they have the same parent.
So, if you you drop two RadioButtons on a TPanel and
set their parents to be the same, they will be grouped.
Alternately, you can use TGroupBox, or any other component;
the key thing is that the component be the parent of the
radio buttons you wish to group.
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99