Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OApp.DoForm(myform) or do form myform
Message
De
17/12/1997 16:01:19
 
 
À
17/12/1997 15:58:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00066716
Message ID:
00066717
Vues:
36
>What is the difference between oApp.DoForm(myform) and
>do form myform? they both do the same thing. I am using this
>in the COMMAND line from a MENU.

From the command line, DO FORM will always work while oApp.DoForm will only work if you have instantiated the oApp object.

In an application, it is recommanded to always use a method to load your form, like in oApp.DoForm. This will allow you to centralize the loading process of your form, the count, the relationship, etc.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform