Menu and Buttonbar Colors

Menu and Buttonbar Colors

Postby dpaterso » Fri Feb 24, 2006 7:28 pm

Good Evening,

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

Dale.
dpaterso
 
Posts: 142
Joined: Tue Jan 24, 2006 9:45 am
Location: South Africa

Re: Menu and Buttonbar Colors

Postby Enrico Maria Giordano » Fri Feb 24, 2006 8:54 pm

I don't think you can change menu colors. For the buttonbar try SetColor() method.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby dpaterso » Sat Feb 25, 2006 5:36 am

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.
dpaterso
 
Posts: 142
Joined: Tue Jan 24, 2006 9:45 am
Location: South Africa

Postby Enrico Maria Giordano » Sat Feb 25, 2006 9:37 am

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
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby E. Bartzokas » Tue Feb 28, 2006 6:32 pm

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  Expand view
    DEFINE BUTTONBAR oBar SIZE 26, iif( LargeFonts(), 30, 26) OF oWnd   // _3D
     oBar:SetColor(CLR_WHITE, RGB(188,188,188))

Regards Evans
User avatar
E. Bartzokas
 
Posts: 114
Joined: Tue Feb 14, 2006 8:13 am
Location: Corinth, Greece

Re: Menu and Buttonbar Colors

Postby E. Bartzokas » Tue Jun 02, 2009 4:48 pm

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.
User avatar
E. Bartzokas
 
Posts: 114
Joined: Tue Feb 14, 2006 8:13 am
Location: Corinth, Greece

Re: Menu and Buttonbar Colors

Postby nageswaragunupudi » Wed Jun 03, 2009 9:12 am

for buttonbar 2007 style, we can assign our own color gradient by setting a codeblock to oBar:bClrGradient
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10625
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 103 guests