Versions des environnements
>Hi,
>
>I am calling a procedure from LOAD method of a form class. Without passing a name of the form class or some other information, can the called procedure know the name of the form? or some other piece of information that would help "locating" the called form/class?
>
>TIA
Examining the call stack's current (top entry using sys(16) or program()) should give you the path back to the vcx or scx being executed for load(), and therefore instantiated. From that information, worst case, you could open the vcx or scx as a shared table, locating there everything except the instance name.
The instance name is then available in init.
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