Menu Check

From Wiki
Revision as of 08:36, 29 December 2005 by Kedrick Valorite (Talk | contribs) (added description for command parameter's.)

Jump to: navigation, search


Synopsis

menu Check {name} {x} {y} {width} {height} {checked} {text}

Description

The menu Check command creates a checkbox on the EasyUO menu.

Name can be any valid EasyUO Name.

X, Y, width, and height are given in pixels.

Checked is either #true or #false.

Text is any descriptive text that will be placed in a label to the right of the actual text box.

Example

; Creates a check box at 75 75, with a size of 60 10.
; The #false sets it to unchecked and Loot? is the label.

menu check Lootchk 75 75 60 10 #false Loot?

; To find if its checked or not

menu get Lootchk
set %loot #menures

; This sets %loot to #false if unchecked
; or #true if checked.


See also

Main Page Documentation