TWindow default foreground color

Post Reply
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

TWindow default foreground color

Post by James Bott »

Antonio,

Is there a reason that a window defaults to a white foreground color?

This is from TWindow:New():

Default...
nClrFore := CLR_WHITE, nClrBack := GetSysColor( COLOR_WINDOW ),;

It seems this sould be:

nClrFore := GetSysColor( COLOR_WINDOWTEXT), nClrBack := GetSysColor( COLOR_WINDOW ),;

The way it is now, if you try to put a SAY on a window it is white text on a white background (and thus invisible). You have to either change the foreground of the window or each SAY on the window.

James
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

James,

You are right. Thanks,

We are used to the gray color for the background, thats why we didn't noticed it :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply