There isn't a specific tab-order change function, but it is possible to do in some situations.
Depending on the details it can be tricky, but usually you can do it with an "Action on get focus" element for the receiving field. Set it up so that if the last control to have focus was the "normal" previous control, then it sets focus to the one you want to have focus.
For instance:
Lets say the control ID's for the normal order are 1 followed by 2, and you want to change it so it goes from 1 to 5 instead of 1 to 2.
Add an "Action on get focus" element for the control 2 (which normally receives focus after 1), and set the action to:
iifq(ThisDlgCtrlLastFocus() = 1,'DlgSetFocusCtrl(5)','0')
Repeat this for each control that needs a focus change.
Stan Spielbusch
[Forum Administrator]