I do this in Delphi, the syntax is :
Label1.Font.Style := [fsBold,fsItalic];
How may I do that with C++ Builder ??
PS: I try that but it doesn't work:
Label1->Font->Style << fsBold << fsItalic;
and that Label1->Font->Style << fsBold | fsItalic;
Best Regards.
F. COURTAULT
Label1->Font->Style = Label1->Font->Style << fsItalic;
--
__________________________________________
PIQUOT Jérôme
STRASBOURG
FRANCE
http://www.media-net.fr/~wolff
mail:wo...@mail.media-net.fr
__________________________________________
Honeywell Gerds a écrit dans le message <01bcea91$16eb2d00$ae0100c0@tg14>...
> Hello,
>
> I do this in Delphi, the syntax is :
>
> Label1.Font.Style := [fsBold,fsItalic];
>
> How may I do that with C++ Builder ??
>
> PS: I try that but it doesn't work:
> Label1->Font->Style << fsBold << fsItalic;
> and that Label1->Font->Style << fsBold | fsItalic;
>
>
> Best
> Regards.
> F.
> COURTAULT
Hi
I Havent ever tried this with the fonts, but it should work with the
right TObject for fonts;
I did this for a String Grid...
TGridOptions NonEditOp << goFixedVertLine <<
goFixedHorzLine << goVertLine << goHorzLine;
TStringGrid SearchGrid;
SearchGrid->Options = NonEditOp;
Good luck!
Vito \o/