Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set focus to the first control in tab order!
Message
From
01/09/1998 15:21:01
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00132001
Message ID:
00132012
Views:
17
>Is there any way to set focus to the first control in the tab order (the control with tab order of 1) without knowing the name of the control? Like FirstControlInTabOrder.SetFocus()!

You can loop through Form.Controls() collection checking Form.Controls(i).TabIndex property and select MIN value of this property.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform