Am Dienstag, den 28.02.2006, 04:26 +0100 schrieb Mattias Gaertner: > I added the code to the SetWidgetColor/SetWidgetFont functions. > TEdit does not like to change its color, but at least its font size. > I can confirm, that the font color is ignored during handle creation. Maybe > this must be set after realize.
It could be by design, IIRC this is a task done in GTK2 by pango using markup around the strings. Dunno if it's true for simple TEdit, too. pseudo code: TEdit.setText("<fgcolor red>The Text to show</fgcolor red>"); Marc _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives