Get color

Post Reply
Jack
Posts: 249
Joined: Wed Jul 11, 2007 11:06 am

Get color

Post by Jack »

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
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Get color

Post by karinha »

maybe:

Code: Select all

TGet():SetColorFocus( nRGB( 200, 120, 120 ) )
 
João Santos - São Paulo - Brasil
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Get color

Post by karinha »

\samples\testget3.prg
João Santos - São Paulo - Brasil
Post Reply