Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2003 Server
>How can you test which button on the form was last clicked or last had the focus? I have several buttons that run the same method and I need to know which button called the method.
I think Sergey's way is the cleanest. If this is just for some Q'nD fix you might consider walking up the stack of calling programs - either with AStackInfo() or sys(16, -1), as it must still be on the stack if the method you are talking about was called by it<g>.
HTH
thomas
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