FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Get color
Posts: 300
Joined: Wed Jul 11, 2007 11:06 AM
Get color
Posted: Wed Dec 21, 2016 06: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

Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Get color
Posted: Wed Dec 21, 2016 06:43 PM
maybe:

Code (fw): Select all Collapse
TGet():SetColorFocus( nRGB( 200, 120, 120 ) )
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Get color
Posted: Wed Dec 21, 2016 06:45 PM

\samples\testget3.prg

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341

Continue the discussion