Page 1 of 1

tBmpGet mouseover problem

Posted: Tue Jul 17, 2007 10:37 pm
by TimStone
I'm using the tBmpGet class that was written back several years ago. It has been very good to display a small calendar bitmap and allow for date lookups.

With the latest release of FWH when someone mouses over the date which is shown in the field, it disappears. ( July release ). I cannot replicate this on my Vista computer, but clients using XP indicate its happening for them.

I can't find a later version of this class. Is anyone using it, and if so, have you seen this behavior ?

Suggestions would be appreciated. Thanks.

Posted: Thu Jul 19, 2007 5:41 pm
by Antonio Linares
Tim,

Solved. Please place these lines at the bottom of Class TBmpGet Method Default:

Code: Select all

METHOD Default() CLASS TBmpGet

   ...

   #include "wcolors.ch"

   ::SetColor( GetSysColor( COLOR_WINDOWTEXT ), GetSysColor( COLOR_WINDOW ) )

RETURN NIL