FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Text-Color in an TBBUTTON
Posts: 97
Joined: Sun Nov 20, 2005 04:32 PM
Text-Color in an TBBUTTON
Posted: Wed Dec 06, 2006 05:44 PM

Hallo Fivewinners,

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

Regards Norbert

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Text-Color in an TBBUTTON
Posted: Wed Dec 06, 2006 05: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion