Skip to content

MENU Designer

The MENU Designer lets you lay out menu windows with the mouse instead of counting pixels. Each window is shown exactly as the script will show it. The designer saves the script, a plain .euo file, and opens such files again, including scripts it did not write.

It writes for the EasyUO 1.6 MENU system: forms, panels, radio buttons, the properties of menu SetProp. Every file it saves starts with menu Reforge Mode 1.6. It does not write or read the 1.5 system’s single-window menus.

EUOMenuDesigner.exe is in the release zip, next to EasyUOReforged.exe (Releases). There is nothing to install, and it needs no game client.

  • Palette (top left): one button per kind of control, in alphabetical order. Click one, then click the form where it goes.
  • Structure (left): every form, panel and control as a tree. Click one to select it; drag one onto a form or a panel to move it there.
  • Canvas (centre): one tab per form. The form is built by the same MENU code that runs your scripts, so what you see is what the script shows.
  • Inspector (right): the properties of the selected component. See The inspector.
  • Script (bottom): the file the design saves as. You can edit it and press Apply. See Saving, loading and pasting.
  • Messages (bottom right): what the designer had to change or leave out.
  1. Start EUOMenuDesigner.exe. The form0 tab is the main menu window, the one menu Show shows.
  2. In the inspector, set Title to Hello, Width (inside) to 200 and Height (inside) to 80.
  3. Click text in the palette, then click near the top left of the form. In the inspector, set its Text to Ready when you are.
  4. Click button, then click below the text. Set its Name to ok and its Text to OK.
  5. Press F9 to preview the window; press it again to close it.
  6. File → Save as hello.euo.

Open hello.euo in EasyUO Reforged and press Play: the window appears, and the script ends when you click OK or close the window. The file looks like this:

; MENU windows made with the EasyUO Reforged MENU Designer
; Each form is built by its own sub, which can be called again to rebuild it.
menu reforge mode 1.6
gosub menu_form0
set #MenuButton N/A
while #MenuButton = N/A
wait 1
halt
sub menu_form0
menu delete text1
menu delete ok
menu window title Hello
menu window size 200 80
menu window color BtnFace
menu setdef parent form0
menu font name Arial
menu setdef fontsize 10
menu setdef fontstyle 0
menu font color Black
menu font bgcolor BtnFace
menu setdef alignment 0
menu text text1 16 8 Ready when you are
menu button ok 56 40 80 25 OK
menu show 100 100
return

To build these windows in your own script, see Using the file in a script.