button color

button color

Postby dutch » Tue Nov 14, 2006 4:15 am

Dear Antonio,

Can I assign color for button?

Best regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Antonio Linares » Tue Nov 14, 2006 9:55 pm

Dutch,

You need to use a TBtnBmp instead of a TButton.
regards, saludos

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

TBtnBmp does support color clause?

Postby dutch » Wed Nov 15, 2006 1:29 am

Dear Antonio,

Does TBtnBmp support color clause?

Best regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Biel EA6DD » Wed Nov 15, 2006 8:35 am

Code: Select all  Expand view
oBtnBmp:SetColor( nClrText, nClrPane )


Best Regads
Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
User avatar
Biel EA6DD
 
Posts: 682
Joined: Tue Feb 14, 2006 9:48 am
Location: Mallorca

Postby dutch » Wed Nov 15, 2006 5:21 pm

Thanks Biel,

But TBTNBMP is not support multiline and TBUTTON is not support color clause.

Best regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Antonio Linares » Wed Nov 15, 2006 5:59 pm

Dutch,

You may place the text on a bitmap (modify the bitmap) and use it from TBtnBmp
regards, saludos

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

Postby dutch » Wed Nov 15, 2006 6:47 pm

Dear Antonio,

I use for our Point Of Sale and BUTTON are menu item as following picture. The menu can change by customer
Image

Best regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Antonio Linares » Wed Nov 15, 2006 7:06 pm

Dutch,

You may have to modify Class TBtnBmp to display multiple text lines.
regards, saludos

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

Postby dutch » Thu Nov 16, 2006 10:19 am

I'll try. Thanks,

Best regards,
Dutch
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 8 guests