General information
Category:
Forms & Form designer
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only