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.
Example
Section titled “Example”menu Clearmenu Window Size 180 75menu Edit name 10 10 150 Bobmenu Edit search 10 40 150menu Showmenu Activate search ; the cursor goes to the second fieldhalt1.5 and 1.6
Section titled “1.5 and 1.6”- 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, orform0) 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.