Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hotkey Puzzle.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00160431
Message ID:
00160795
Views:
14
>Marc,
>
>Did you try GotFocus()? You could also use a voyeur timer object that tracked last control.
>
>>My problem is that when the user presses the hotkey, the when eventmethod() is not executed, so the click() method does not know "who called".
>>
>>Anybody found a way to encapsulate this functionality in the command button allone, or are we to use the form to manage this?

Hi David,

I did try the gotfocus() but then it seems that the _screen.activecontrol is not defined.

But then, I think that one should use the form and that each control that gets focus should register itself somehow.

Thank you.

Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform