Go to: Synopsis. Return value. MEL examples.
setFocus
controlName | panelName
setFocus is undoable, queryable, and editable.
Give keyboard focus to a specific control or panel.
window;
columnLayout;
textField -changeCommand "setFocus tf1" tf0;
textField -changeCommand "setFocus tf2" tf1;
textField -changeCommand "setFocus tf0" tf2;
showWindow;