GUI Help > setGadgetTab
setGadgetTab
| setGadgetTab handle gadget, int focus, handle insertAfter
Sets whether or not a gadget can be focused using the tab key, and the tab order for gadgets with the same parent.
Parameters:
gadget | Handle of a gadget
focus | 1 to allow the user to focus the gadget using the tab key, or 0 to disable tab-focusing.
insertAfter | Handle of the gadget which will preceed this gadget in the tab order. When the user is tabbing through gadgets in a window, this gadget will be focused after the insertAfter gadget.