Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Pamela, thanks for the reply.
>To what is lnFormValue scoped? When you use the toolbar to close the >form is the next line of code executed the same as when you use the >form button?
The code is something like..
LOCAL lnFormValue
DO FORM myForm TO lnFormValue
IF lnFormValue=lnAnotherValue... etc.
Problem update...
I have investigated the problem further and have now placed the same code in the click methods of both the toolbar close-button and a 'Close' button on the modal form itself.
IF _screen.activeform.queryunload()
_screen.activeform.release
ENDIF
When the form-button is pressed, the form closes and a value is returned to lnFormValue. When the toolbar button is pressed, the form closes, but no value is returned (if lnFormValue is not initialised, it doesn't even exist when control passes to the following line!) even though RETURN lnReturnValue is definitely executed in form.unload().
Any further ideas would be appreciated.
Regards,
Alan
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