Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control Order change
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00449950
Message ID:
00450090
Views:
31
>Anybody knows how to change (not manually) the orders of the controls in a form?
>
>I'm trying to jump from one control to another for checking field validation (usually the next one) but with >> for x=1 to form.controlcount << jumps into a different control. I realize that is taking the record order (recno()) inside the scx file.

Larry gave you a good suggestion. However, another one is this: If you want the controls to be validated in the same order as the TabOrder, you can build a cursor with the FullControlName and TabOrder in it (Add a pageNumber factor if on a pageframe) index on the "TabOrder" and there you have it. You eval() the FullControlName as you loop through the cursor. I do this in one of my apps.
HTH,
Bill Armbrecht
VFP MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform