Skip to content

menu Activate

menu Activate {name}

Also searchable as: menu Activate · focus

menu Activate gives the keyboard focus to a control: an edit field, memo, button, check box, drop-down list or list box. What the user types then goes into it.

menu Clear
menu Window Size 180 75
menu Edit name 10 10 150 Bob
menu Edit search 10 40 150
menu Show
menu Activate search ; the cursor goes to the second field
halt
  • 1.5: gives the keyboard focus to an edit field, memo, button, combo box, list or check box in the menu window. Other controls are ignored.
  • 1.6: works on any control, in any window: it brings the control’s window to the front and gives the control the focus if it can take it. Naming a window (menu Form, or form0) brings that window to the front.

See also

Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.

The EasyUO 1.6 behaviour on this page was researched with help from the ScriptUO community: Gaderian's tutorial New Menu Code and how to adapt old scripts and the scripts its members share at scriptuo.com.