Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change a @get backcolor when it has focus?
Message
De
26/09/2006 00:45:08
 
 
À
25/09/2006 14:50:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01157020
Message ID:
01157145
Vues:
33
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform