Access the individual controls within the RadioGroup.
for i:=0 to RadioGroup1.ControlCount -1 do
if TRadioButton(RadioGroup.Controls[i]).Caption = 'Two' then
RadioGroup[i].Font.Style:= [fsItalics];
Hope this helps.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Mark Howard
Sent: 14 January 2003 08:24
To: Multiple recipients of list delphi
Subject: [DUG]: Controlling fonts within a RadioGroup item
Hi
Can someone suggest how I can set a RadioGroup item caption to
read:
one two
with the two in a strike-through font?
TIA
Mark
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/