Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tab order at run-time
Message
From
31/10/2020 09:54:59
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01676883
Message ID:
01676884
Views:
36
Hi,

as far as I understand help of TabIndex property, you might change the value at run time. You only must set any control to a different one.
The problem is, it swaps by its own (at least if a control is visible)
Example:
?chk1.TabIndex  && result 1
?chk2.TabIndex  && result 2
chk1.TabIndex = 2
?chk1.TabIndex  && result 2
?chk2.TabIndex  && result 1
To solve this, you need to set all controls to there new tabindex, in the order of the tabindex. That means, you need to set the object with tabindex 1 first, then that with taborder 2 and so on. So you need something that runs your objects in the order of the tabindexes you like to achieve.

>Hi,
>
>I usually set a window's tab order at design time. Can I create a tab order - for a specific customer - that will change the design tab order to a custom tab order?
>
>TIA
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform