Text-Color in an TBBUTTON

Text-Color in an TBBUTTON

Postby NK » Wed Dec 06, 2006 5:44 pm

Hallo Fivewinners,

How can I change the text-color of an Prompt-Text in a TBBUTTON?

Regards Norbert
User avatar
NK
 
Posts: 97
Joined: Sun Nov 20, 2005 4:32 pm
Location: Germany

Postby James Bott » Wed Dec 06, 2006 5:51 pm

Norber,

I think this is a Windows limitation. You can try using a BMP button (without the BMP).

@ 30, 10 BTNBMP oBtn PROMPT "Close";
ACTION oDlg:End()

oBtn:SetColor( CLR_RED, CLR_YELLOW )

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 82 guests