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.
Example
Section titled “Example”menu Clearmenu Window Size 220 60menu Text keep 10 10 This line stays.menu Text gone 10 30 This line goes in two seconds.menu Showwait 40menu Delete gonehalt1.5 and 1.6
Section titled “1.5 and 1.6”- 1.5: removes every control with that name.
- 1.6: removes the one control the name belongs to. For a window (
menu Form) or amenu Panel, everything in it goes too: what has a name is removed, what has none disappears.menu Delete form0removes the main window until the script is started again;menu Show,menu Hideandmenu Windowthen 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.