Hello,
we have function like SetDlgGradient which allows you to set the colors of all the dialogs of the project .
There is a function that allows you to do the same for buttonbar ?
Thanks
Maurizio
Buttonbar color
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: Buttonbar color
DEFINE BUTTONBAR oBar OF oTabella SIZE 70,70 BOTTOM NOBORDER 2010
oBar:bClrGrad := { | lPressed | If( ! lPressed,;
{ { 1, nRgb(233,229,206),nRgb(233,229,206) } },;
{ { 1, nRgb( 245,244,234), nRgb( 245,244,234) } } ) }
oBar:bClrGrad := { | lPressed | If( ! lPressed,;
{ { 1, nRgb(233,229,206),nRgb(233,229,206) } },;
{ { 1, nRgb( 245,244,234), nRgb( 245,244,234) } } ) }
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: Buttonbar color
Silvio,
this is for a single bar.
I think Maurizio is looking for something like a global solution
( for ALL bars )
Maurizio wrote :
we have function like SetDlgGradient which allows you to
set the colors of all the dialogs of the project .
regards
Uwe
this is for a single bar.
I think Maurizio is looking for something like a global solution
( for ALL bars )
Maurizio wrote :
we have function like SetDlgGradient which allows you to
set the colors of all the dialogs of the project .
regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: Buttonbar color
Sorry, I not understoodukoenig wrote:Silvio,
this is for a single bar.
I think Maurizio is looking for something like a global solution
( for ALL bars )
Maurizio wrote :
we have function like SetDlgGradient which allows you to
set the colors of all the dialogs of the project .
regards
Uwe
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Buttonbar color
Maurizio,
You may solve it this way for all your buttonbars:
DEFINE BUTTONBAR ... COLOR ButtonBarColor()
...
function ButtonBarColor()
return nRGBColor
You may solve it this way for all your buttonbars:
DEFINE BUTTONBAR ... COLOR ButtonBarColor()
...
function ButtonBarColor()
return nRGBColor
Re: Buttonbar color
Thanks Antonio ,
it wasn't what I thought, but for the moment it's okay .
Maurizio
it wasn't what I thought, but for the moment it's okay .
Maurizio