Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetFocus in VB
Message
From
24/09/1999 13:03:11
Oleg Khvalin
The Sutherland Group Ltd
Rochester, New York, United States
 
 
To
24/09/1999 12:58:33
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00268588
Message ID:
00268592
Views:
19
>Within VB, I would like to set the focus to a text field on the form right after it is loaded (at startup). I can not place it in the forms load() event since the form is not displayed until the load() event is completed. Where do I place the Setfocus method?
>
>John
Place it into Form_Activate:
Me.txtField.SetFocus

HTH
Oleg
Previous
Reply
Map
View

Click here to load this message in the networking platform