Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hotkey Puzzle.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00160431
Message ID:
00160795
Vues:
20
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform