Menu Button

From Wiki
Revision as of 10:03, 12 December 2005 by Kedrick Valorite (Talk | contribs) (moved to body, clarified slightly. thank for helping out!)

Jump to: navigation, search


Synopsis

menu Button {name} {x} {y} {width} {height} {text}

Description

The menu Button command creates a button on the EasyUO menu window at the specified postion with the specified size.

The #MenuButton system variable gives the name of the last button that was pressed.


Example

; This will create a button named button_1 in position 10 20
; with a width of 50 and hight of 25. The text on the button
; will say Click me!
; Note that when refering to this button later in the script
; you will reference the NAME and not the displayed TEXT.
menu Button button_1 10 20 50 25 Click me!

See also

Main Page Documentation