Go to: Synopsis. Flags. Return value. Related. MEL examples.
evalDeferred [-lowestPriority]
[command]
evalDeferred is undoable, queryable, and editable.
This command takes the string it is given and evaluates it during the next available idle time. It is useful for attaching commands to controls that can change or delete the control.Long name (short name) | [argument types] | Properties | ||
---|---|---|---|---|
-lowestPriority(-lp)
|
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
window; columnLayout; string $button = `button -label "Delete Me"`; button -edit -command ("evalDeferred \"deleteUI " + $button + "\"") $button; showWindow;