Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>I have tried the following code in the click event of the toolbar and also the text field of the form which appears to have the focus under the gotfocus event, but neither seems to work.
>
>I would appreciate any help anyone could give.
>
>Thanks,
>
>Pat
Toolbars nor controls in them ever really get focus. Your toolbar button should be calling a method in your form to process it's function.
_Screen.ActiveForm.Next()
this way, in your form class you can have the keypress event look for a space bar and have it call thisform.Next()
BOb
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement