Information générale
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
I have similar code, it works fine. What I wanted was to disable the choice the user just selected, so the user does not press, say 'report b32' multiple times.
What I ended up doing is when the user selects report32b I see if the form is already instantiated or not. If not, I create it. if it is, I switch to it. Very inelegant, the menu should disable.
Thanks,
Tuvia
(BTW, the docs state, and I agree, bad practice to call things by their nitem. Every time you add or remove a menu option, the number of the option could change. The docs suggest getting the control number, which you define, and use that instead.)
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