Fwh808 button bar issue??

Fwh808 button bar issue??

Postby norberto » Tue Sep 09, 2008 1:01 pm

hi, someone has this? (image), i missing something?

thanks


Image
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Postby James Bott » Tue Sep 09, 2008 3: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.

Code: Select all  Expand view
#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:

Code: Select all  Expand view
::nClrPane    = If( l3D, GetSysColor( COLOR_BTNFACE ), CLR_GRAY )


I suggest this:

Code: Select all  Expand view
::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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 76 guests