Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I determine the first field top-left on a form ?
Message
From
07/10/1999 22:11:48
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00274043
Message ID:
00274047
Views:
33
>In my form class, I would like to position automatically the setfocus on the first top-left field of the form.
>Is it possible?
>
>Thanks
>Eric.

If left/top property is the only criteria then you may loop through Form.Controls collection, get e.g. MIN() value of all left+top properties (you may elaborate fancier algorithm) and fire Setfocus.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform