try

if (fsbold in mycontrol..font.style) then ....

Phil

Jeremy Coulter wrote:
Hi All.
Its gotta be friday !
 
I want to know if a font style is being used, so I got :-
 
mycontrol.font.style in [fsBold]   but thsi does not work.
 
What I went to acheive is, wether or not bold is contained in the Font Style Set.
My brain wont engage today :-(
 
Jeremy

_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to