Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Test for which button was last clicked
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01268745
Message ID:
01268771
Views:
11
>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.

You shouldn't base your decision on what button was clicked. Instead add parameter to the caled method to indicate what has to be done.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform