Difference between revisions of "Menu Button"

From Wiki
Jump to: navigation, search
(Applying templates (header, body, foot))
m (added menubutton link)
Line 12: Line 12:
 
; you will reference the NAME and not the displayed TEXT.
 
; you will reference the NAME and not the displayed TEXT.
 
menu Button button_1 10 20 50 25 Click me!</pre>
 
menu Button button_1 10 20 50 25 Click me!</pre>
 +
 +
Use [[MenuButton]] to access current Button state.
  
 
{{footer}}
 
{{footer}}

Revision as of 10:14, 9 December 2005


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.


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!

Use MenuButton to access current Button state.

See also

Main Page Documentation