>Hi
>
>I have a shortcut menu that call from a form. In the setup of the shortcut menu I have LPARAMETER cParameter1, cParameter2, nValue1 and in the calling function I passed the following: DO shortmnu WITH 'A', 'B', 1
>
>When the shortcut menu launch I pressed one of the prompt option and inside the procedure of this prompt I have change the nValue to a 2.
>
>How could I pass back the nValue = 2 to the calling function?
>
>Any help is appreciated
>
>STeve
Steve,
There is one other trap that David and Jim haven't mentioned - menus aren't objects so it's best to use PARAMETERS and not LPARAMETERS. This way your variable will be visible inside the procedures created for each of the options.
HTH
Précédent
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