Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a 'childform' from a menu
Message
De
01/07/2002 12:37:59
 
 
À
01/07/2002 08:08:39
Michael Gass
Instructional Software, Inc.
Kirkland, Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00673806
Message ID:
00673951
Vues:
25
Michael:

>What's the best way to call a form from a menu bar within Codemine when parameters need to be passed

The preferred way to call a form from a menu is using m.goStateManager.Openform() (or Openformmulti). These methods allow you to pass upto seven parameters to the form's init.

>and both forms must use the same record?

Your opening question suggests you want to call a form from a menu. What do you mean by "both forms". Also, where does the "same record" come into it? You can call a parent form using Openform (as suggested). If by "same record" you mean the current record, if you open a child form (of which there are a few <s>), the child form usually inherits the parent form's DE. So, you will automatiaclly have access to the record loaded in the parent when calling a child form.

Lets break down your problem a little more and see whether we can arrive at the best solution for you.

HTH
-=Gary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform