Skip to content

menu Text

menu Text {name} {x} {y} {text}

Also searchable as: menu Text · label

menu Text places a label at x, y. The label is as big as its text. $ in the text starts a new line.

It uses the current font settings. menu Font Align aligns the lines of a multi-line label, and menu Font Transparent drops its background.

Parameter Meaning
name The control’s name, used later by menu Get, menu Set and menu Delete. Case does not matter.
x, y Position of the label’s top-left corner.
text The text.

Change the text later with menu Set; $ does not start a new line there. A label’s text cannot be read back with menu Get.

menu Clear
menu Window Size 180 40
menu Text status 10 10 Waiting...
menu Show
wait 40
menu Set status Done
halt
  • 1.6: labels always have a background, in the colour set by menu Font BgColor: menu Font Transparent is ignored. The label goes into the current default parent, and its name must be free: a second label with a taken name stays on screen but cannot be changed or deleted.

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.