Ribbonbutton - color caption

Ribbonbutton - color caption

Postby Otto » Tue Apr 06, 2010 7:58 pm

CLR_BLACK hardcoded
Code: Select all  Expand view
::bClrText := {| lEnable | if( lEnable, CLR_BLACK, GetSysColor( COLOR_GRAYTEXT ) ) }


Ribbonbutton

How can we change the color of the caption?

Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6329
Joined: Fri Oct 07, 2005 7:07 pm

Re: Ribbonbutton - color caption

Postby Antonio Linares » Wed Apr 07, 2010 7:22 am

Otto,

You can reassign that DATA:

oBtn:bClrText := { | lEnabled | If( lEnabled, CLR_BLUE, CLR_WHITE ) }
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Ribbonbutton - color caption

Postby Otto » Wed Apr 07, 2010 8:55 am

Hello Antonio,
Thank you.
Best regards,
Otto
Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6329
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 100 guests

cron