[Lazarus] Grouping radio buttons

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Mar 19 17:58:23 CET 2012


On Mon, 19 Mar 2012 17:51:48 +0100
J├╝rgen Hestermann <juergen.hestermann at gmx.de> wrote:

> I already searched for hours but cannot find anything useful.
> 
> My question:
> Is it possible (and if yes, how) to group some radio buttons
> so that only one of each group can be selected?
> 
> I put some radio buttons on my form which select different things
> but they are all connected with each other so that only one can be 
> selected at a time.
> 
> I expected some property defining a goup but I cannot find anything like 
> that.

Use a TRadioGroup or put the radiobuttons on a panel. 
Hint: A Panel can become invisible with BevelOuter=bvNone.

Mattias




More information about the Lazarus mailing list