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
?chk2.TabIndex
chk1.TabIndex = 2
?chk1.TabIndex
?chk2.TabIndex
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.
OffThere is no place like [::1]