Your Ad Here

Go to: Synopsis. Return value. MEL examples.

Synopsis

setFocus controlName | panelName

setFocus is undoable, queryable, and editable.

Give keyboard focus to a specific control or panel.

Return value


Nothing.

MEL examples

window;
    columnLayout;
    textField -changeCommand "setFocus tf1" tf0;
    textField -changeCommand "setFocus tf2" tf1;
    textField -changeCommand "setFocus tf0" tf2;
showWindow;

  

Return to Autodesk Index


Your Ad Here