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 RUN
#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 RUN
::nClrPane = If( l3D, GetSysColor( COLOR_BTNFACE ), CLR_GRAY )
I suggest this:
- Code: Select all Expand view RUN
::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