Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing form from shortcut
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00148464
Message ID:
00148975
Vues:
30
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform