Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private Datasession Two or More Forms - Close First Form
Message
De
26/05/1999 09:52:29
 
 
À
26/05/1999 09:31:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00222633
Message ID:
00222909
Vues:
26
I would leave it in the toolbar and the menu also. It's just a special case that when the Production form is called from the Primary form, it should display the information about the selected record in the Primary form. If it's called from the toolbar or the menu, it display the first record (for example).

Although it may be possible to do the same thing from the toolbar or the menu, it will complicate things more and will cause some confusion. What if more than one primary form is open? Which one should be used? _Screen.ActiveForm could be used for that, but what if another form was currently active?

>The Production form is called from Menu or Tool Bar. Command buttons on the Primary form is the way I did it in FPW 2.6a and it worked fine. I just wanted to use the Tool Bar in order to get rid of the 'clutter' on the Primary form. I'll try a command button on the form to see how it works. I guess I could still leave the Tool Bar buttons for when the Primary form is not open (i.e., posting batch receipts).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform