Page 1 of 1

BTNBMP Text Color ?

Posted: Thu Apr 27, 2006 8:59 am
by yunbg1
Thanks you. Antonio

How are you the low which the BTNBMP increases then?

Code: Select all

@ 170, 31 BTNBMP oBut RESOURCE "button" CENTER PROMPT "00:00:00" FONT oFont2 SIZE 136, 130 ; 
ACTION oWnd:End() OF oWnd NOBORDER 

// ? TextColor
// ? Font

FWH USer...........

Posted: Thu Apr 27, 2006 9:38 am
by Antonio Linares
Sorry, I don't understand what you mean.

Do you want to show the running time on the button ?

Posted: Thu Apr 27, 2006 12:03 pm
by yunbg1
Antonio Linares wrote:Sorry, I don't understand what you mean.

Do you want to show the running time on the button ?

Code: Select all

@ 0,0 BTNBMP oBut RESOURCE "start"  CENTER PROMPT "Text Caption " SIZE 101, 39 ACTION start() OF oWnd NOBORDER
We change 'Text Caption' Color.

Posted: Thu Apr 27, 2006 12:18 pm
by Antonio Linares
oBut:SetColor( "GR+/B" ) or

oBut:SetColor( CLR_..., CLR_... ) or

oBut:SetColor( nRGB( ..., ..., ... ), nRGB( ..., ..., ... ) )