Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to Invisible one of the item in TRadioGroup?

Tags:

delphi

Any idea to make one of the options in TRadioGroup component invisible? (Delphi 7)

alt text

like image 518
user367856 Avatar asked Nov 26 '10 06:11

user367856


2 Answers

I think it would be more semantic to use Buttons[] property instead, so

RadioGroup.Buttons[Index].Visible := False

and usability-wise, to disable (Enabled := False) rather than to hide

like image 151
Free Consulting Avatar answered Nov 06 '22 00:11

Free Consulting


RadioGroup1.Controls[...].Visible := False;
like image 26
da-soft Avatar answered Nov 06 '22 00:11

da-soft