Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set focus on a form
Message
From
03/06/2002 20:58:58
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00664140
Message ID:
00664303
Views:
22
The best place for this behavior is the GotFocus event for the form. You will only want to do this on the first occurance however. Just set a form property (form.Comment) to determine if further gotfocus events should call the firstfocus method/procedure. If the focus is set in any event prior to Form::activate the form instanciation sequence is skewed.

Glenn

>Where is the best place to set the focus for the first field on my form?
>
>My form contains a class thats placed on the form, I'm assuming that this is interfering with the set focus.
>
>Any ideas?
>
>RC
>BSS
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform