If
you're really keen, assign your own WindowProc to
TRadioButton(RadioGroup1.Controls[i]).WindowProc. Then from your own Proc,
capture WM_PAINT and do all your font manipulation from there.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Howard
Sent: 14 January 2003 11:07
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Controlling fonts within a RadioGroup itemThanks Allan, but not quite what I was after:I want to be able to have two fonts displayed within the one caption, if possibleeg (if it displays) "one two"MarkOn 14 Jan 2003 at 10:40, Allan Vergara wrote:> 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/>--Forest Production Systems LtdCreators of PSLog Harvesting Information SystemWeb: www.pslog.co.nz
