Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement