Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need help keeping focus on a toolbar in a formset
Message
From
29/06/1999 09:51:45
 
 
To
29/06/1999 09:46:19
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00235198
Message ID:
00235206
Views:
22
>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
Map
View

Click here to load this message in the networking platform