Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using if statements
Message
From
19/07/2000 20:34:00
 
 
To
19/07/2000 20:26:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00394657
Message ID:
00394660
Views:
11
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform