I am using vfp3.
Is there a simple way I can create a variable in the Load or Activate method of a form that other methods of that form can see but the scope of the variable is encapsulated within the form rather than the function?
Actually what I want to achieve is select-ing a work area, then restoring that work area when the form is released.
Activate: lastselect = select()
select aliasforthisform
Release: select(lastselect)
I don't want a generically named global variable because I'm trying to avoid conflicts should other forms be open and doing the same thing.
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