FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Fwh808 button bar issue??
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Fwh808 button bar issue??
Posted: Tue Sep 09, 2008 01:01 PM
hi, someone has this? (image), i missing something?

thanks


Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Fwh808 button bar issue??
Posted: Tue Sep 09, 2008 03:57 PM
Norberto,

The buttonbar defaults to a dark-gray color. You either have to use the 3D clause (which has a light-gray color) or set the color of the buttonbar to light-gray.

#INCLUDE "WCOLORS.CH"

oBar:nClrPane := getSysColor( COLOR_BTNFACE)


Antonio, it would really better if ::nClrPane always defaulted to COLOR_BTNFACE.

This is the code now:

::nClrPane    = If( l3D, GetSysColor( COLOR_BTNFACE ), CLR_GRAY )


I suggest this:

::nClrPane    = GetSysColor( COLOR_BTNFACE )


Of course, there would be some programmers that will not like this, but light gray is really the standard toolbar color for Windows apps.

James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion