Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using if statements
Message
De
19/07/2000 20:34:00
 
 
À
19/07/2000 20:26:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00394657
Message ID:
00394660
Vues:
10
I would add a form method and call this code from the Click(), InteractiveChange() or Valid() event of the optiongroups.
e.g.,
** opgOne.Click() And opgTwo.Click()
Myform.MyMethod()

** Myform.MyMethod()
lnOneVal = this.opgOne.Value
lnTwoVal = this.opgTwo.Value

Do Case
 Case lnOneVal = 1 And lnTwoVal = 1
   ** whatever happens here, e.g.
   this.txtOne.Enabled = .T.
   this.txtTwo.Enabled = .F.

 Case etc.
  etc.

EndCase
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform