General information
Category:
Coding, syntax & commands
Environment versions
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only