Skip to content

menu Delete

menu Delete {name}

Also searchable as: menu Delete

menu Delete removes the control with that name from the menu window. If several controls share the name, all of them are removed.

To change what a control shows, menu Set is lighter than deleting and creating it again.

menu Clear
menu Window Size 220 60
menu Text keep 10 10 This line stays.
menu Text gone 10 30 This line goes in two seconds.
menu Show
wait 40
menu Delete gone
halt
  • 1.5: removes every control with that name.
  • 1.6: removes the one control the name belongs to. For a window (menu Form) or a menu Panel, everything in it goes too: what has a name is removed, what has none disappears. menu Delete form0 removes the main window until the script is started again; menu Show, menu Hide and menu Window then do nothing.

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.