Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>yeah - put the DO FORM in a function
>>when the function ends the variable will lose scope and be release...
>
>That's why it wasn't released. I put it in my menu. I will make the change to call the forms from a function.
>
>The reason of this change is because I was working with WEXIST() in my SKIP FOR clause in the menu but because of the strange behavior that WEXIST() may returns true when the _screen.Caption equal the name of a window.
WEXIST() is very unsure sometimes and it can create a lot of problems. The proper way is ISNULL() function. For both visual and non-visual objects.
Vlad
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