Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing form from shortcut
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00148464
Message ID:
00148975
Views:
29
Michelle,

>From reading the other messages, I get the feeling this passing objects versus a hierarchy is a hot topic. :) I don't do either, so I don't have an opinion on which is better.

Both are useful in various situations, I just wanted to reassure you that passing objects was a common way of dealing with this.

>I realize the form will be active while the popup is active. But my popup just calls another program. If during this other program it refers to the active form there could be problems. In my case, it just calls a custom method on the form, and from then on uses the "thisform" reference, so I'm safe there.

You could always send _screen.ActiveForm as an argument to the program so it'll know what the launching form was even if the user activates another form.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform