From: "Martin Moore" <[EMAIL PROTECTED]>
To: "Borland's Delphi Discussion List" <[email protected]>
Sent: Monday, May 23, 2005 11:19 PM
Subject: Re: Coloring A Label


> I think the only 2 ways to do this are:
>
> 1. Use TRichEdit, but I've never had much luck getting the colours
etc.
> working reliably!!
>
> 2. Create a new TLabel/TStaticText for each letter on the fly with
the
> required attributes.

Third way:

think 2 rows of tLabel (autosize = true) with a static array for each
row and calculate Lefts as letters are entered.

Rather brute-force but maybe what was intended.


Henry Bartlett
Delphi Links Page
http://www.hotkey.net.au/~hambar/habit/delflink.htm






_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to