Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command Group Value
Message
From
23/01/2002 06:27:15
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00606848
Message ID:
00608850
Views:
36
Hi David,

Ok, here’s what I’m trying to do. The CLICK event in the cmg has a case statement:

DO CASE
CASE THIS.VALUE = 1
* Do thing 1
CASE THIS.VALUE = 2
* Do thing 2
CASE THIS.VALUE = 3
* Do thing 3
CASE THIS.VALUE = 4
* Do thing 4
ENDCASE

There are other situations in which I want the code associated with the case to execute. These are associated with another form in the form set. I don’t want the second form to be concerned with what happens when the button is clicked, I just want the action to occur.

There are dozens of ways to do this, but I’m interested in finding the most elegant or best in terms of the object model. Being the neophyte that I am, this has become an exercise in understanding the basics. I really appreciate your help!

Rich
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform