FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Ribbonbutton - color caption
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Ribbonbutton - color caption

Posted: Tue Apr 06, 2010 07:58 PM
CLR_BLACK hardcoded
Code (fw): Select all Collapse
::bClrText := {| lEnable | if( lEnable, CLR_BLACK, GetSysColor( COLOR_GRAYTEXT ) ) }


Ribbonbutton

How can we change the color of the caption?

Thanks in advance
Otto
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: Ribbonbutton - color caption

Posted: Wed Apr 07, 2010 07:22 AM

Otto,

You can reassign that DATA:

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: Ribbonbutton - color caption

Posted: Wed Apr 07, 2010 08:55 AM
Hello Antonio,
Thank you.
Best regards,
Otto

Continue the discussion