FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TWindow default foreground color
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
TWindow default foreground color
Posted: Sun Dec 30, 2007 01:21 PM

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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
TWindow default foreground color
Posted: Sun Dec 30, 2007 01:42 PM

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

Continue the discussion