Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set focus on control with tabindex=1
Message
 
 
To
20/04/1999 13:27:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00210187
Message ID:
00210211
Views:
49
>>How do I set the focus to the control that has tabindex=1 ?
>
>There is no direct way to do it. You can create a form method in oyur base form class that does it though:
>
>Form.FirstControlSetfocus()
>
>FOR EACH oControl IN THISFORM.Controls
>	IF oControl.Tabindex = 1
>		oControl.SetFocus()
>	ENDIF
>ENDFOR
>
Thanks it! Thanks Erik.
Previous
Reply
Map
View

Click here to load this message in the networking platform