Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Evaluating commandbutton on a form
Message
From
28/10/1997 10:33:18
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00056992
Message ID:
00056997
Views:
32
>>>Is there a way to determine which cmd button was selected on a form?
>>
>>=messagebox(thisform.activecontrol.name)
>
>I want to determine which cmd button was LAST selected.

Timothy, 'selected' for cmdButton means that click or gotfocus (depending what you mean here) event was fired. So, add some code in these event to reset some form property to value reflecting cmd number.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform