FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Question about TGET-class and Windows 7
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Question about TGET-class and Windows 7
Posted: Wed Apr 21, 2010 09:16 AM
Hello,

In the beginning of the TGET-class, there is this line :
Code (fw): Select all Collapse
#define COLOR_GRAYTEXT      17

This line defines the color of the characters in the TGET-field in case the WHEN-clause is .F.

To make this more visible, I changed it to this code :
Code (fw): Select all Collapse
#define COLOR_GRAYTEXT       2

The charachters in the TGET-field are darkblue if the WHEN-clause is .F.

This works fine in Windows XP.

I tried it out on Windows 7 and that case, the characters are light-gray. I tried every figure from 1 to 17. Only 4 colors appear : white, light-gray, normal gray and black.

Why is Windows 7 not responding to the colors which are asked by my application ?

Thank you in advance for any help.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Continue the discussion