Page 1 of 1

Menu and Buttonbar Colors

Posted: Fri Feb 24, 2006 7:28 pm
by dpaterso
Good Evening,

Is there any way to change / set the color of MENU and BUTTONBAR?

Dale.

Re: Menu and Buttonbar Colors

Posted: Fri Feb 24, 2006 8:54 pm
by Enrico Maria Giordano
I don't think you can change menu colors. For the buttonbar try SetColor() method.

EMG

Posted: Sat Feb 25, 2006 5:36 am
by dpaterso
Good Morning,

Well that's no good!!!

I have tried the SetColor( ) method for the Button Bar - it almost works but there is a sort of 'color bleeding' that occurs - I don't know why!

It's not serious - I just thought it would be nice to be able to change the colors - change the appearance to something like Nero 7.

Thanks anyway,

Regards,

Dale.

Posted: Sat Feb 25, 2006 9:37 am
by Enrico Maria Giordano
dpaterso wrote:Good Morning,

Well that's no good!!!

I have tried the SetColor( ) method for the Button Bar - it almost works but there is a sort of 'color bleeding' that occurs - I don't know why!
Please take the time to build (and post) a reduced and self-contained sample of the problem.
dpaterso wrote:It's not serious - I just thought it would be nice to be able to change the colors - change the appearance to something like Nero 7.
I haven't seen Nero 7 yet but I can easily imagine that it doesn't use standard menus if they are coloured different than the standard menus.

EMG

Posted: Tue Feb 28, 2006 6:32 pm
by E. Bartzokas
dpaterso wrote:Good Morning,
I have tried the SetColor( ) method for the Button Bar - it almost works but there is a sort of 'color bleeding' that occurs - I don't know why!
I have tried to change the buttonbar colors in RPREVIEW.PRG
and it seems to work fine.
I do not see any 'colors bleeding'.
Using WinXP Home Edition SP1
XHB Professional and FWH

Code: Select all

    DEFINE BUTTONBAR oBar SIZE 26, iif( LargeFonts(), 30, 26) OF oWnd   // _3D
     oBar:SetColor(CLR_WHITE, RGB(188,188,188))
Regards Evans

Re: Menu and Buttonbar Colors

Posted: Tue Jun 02, 2009 4:48 pm
by E. Bartzokas
You can try to use my posted code for changing menu colors.
Search this forum for "FWH/xHarbour Menus"

Regards
Evans Bartzokas
Corinth, Greece

ps. You can contact me (or anyone else interested) in private to get my latest changes in this code for menu colors.
My email is "ebartzokas@gmail.com"

dpaterso wrote:Good Evening,
Is there any way to change / set the color of MENU and BUTTONBAR?
Dale.

Re: Menu and Buttonbar Colors

Posted: Wed Jun 03, 2009 9:12 am
by nageswaragunupudi
for buttonbar 2007 style, we can assign our own color gradient by setting a codeblock to oBar:bClrGradient