RadioButton is a wrapper for a window control, so the painting is handled
from the OS. you may find it very difficult to touch this.
you
would need to find a pure delphi radio button class that you can manipulate the
painting on
-----Original Message-----
From: Mark Howard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 14 January 2003 11:07 a.m.
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
