Get color

Get color

Postby Jack » Wed Dec 21, 2016 6:11 pm

Hi,
When a get value is empty, i want that the backgroud is green and when it is not empty then yellow .

It must bee the case not only in the init process but also when contents of gets is changed .

Some samples ?

Thanks
Jack
 
Posts: 284
Joined: Wed Jul 11, 2007 11:06 am

Re: Get color

Postby karinha » Wed Dec 21, 2016 6:43 pm

maybe:

Code: Select all  Expand view

TGet():SetColorFocus( nRGB( 200, 120, 120 ) )
 
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7613
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Get color

Postby karinha » Wed Dec 21, 2016 6:45 pm

\samples\testget3.prg
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7613
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 93 guests

cron