Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change a @get backcolor when it has focus?
Message
From
26/09/2006 00:45:08
 
 
To
25/09/2006 14:50:28
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01157020
Message ID:
01157145
Views:
32
This message has been marked as the solution to the initial question of the thread.
I have done this by following:
@r,c get MyVar WHEN chgcolor('A') VALID chgcolor('')
READ

*********************
FUNCTION chgcolor
***********************
PARAMETERS clrcode
var1=varread()

   IF clrcode="A"
      getclr="w+/n,w+/n"
   ELSE
      getclr=set('color')
   ENDIF

SHOW get &var1 color &getclr

RETURN
Hope this help.
Jignesh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform