Good Evening,
Is there any way to change / set the color of MENU and BUTTONBAR?
Dale.
Menu and Buttonbar Colors
- Enrico Maria Giordano
- Posts: 8737
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 2 times
- Contact:
Re: Menu and Buttonbar Colors
I don't think you can change menu colors. For the buttonbar try SetColor() method.
EMG
EMG
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.
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.
- Enrico Maria Giordano
- Posts: 8737
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 2 times
- Contact:
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
- E. Bartzokas
- Posts: 114
- Joined: Tue Feb 14, 2006 8:13 am
- Location: Corinth, Greece
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
DEFINE BUTTONBAR oBar SIZE 26, iif( LargeFonts(), 30, 26) OF oWnd // _3D
oBar:SetColor(CLR_WHITE, RGB(188,188,188))
Regards Evans
- E. Bartzokas
- Posts: 114
- Joined: Tue Feb 14, 2006 8:13 am
- Location: Corinth, Greece
Re: Menu and Buttonbar Colors
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"
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.
- nageswaragunupudi
- Posts: 10711
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 7 times
- Contact:
Re: Menu and Buttonbar Colors
for buttonbar 2007 style, we can assign our own color gradient by setting a codeblock to oBar:bClrGradient
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India