Difference between revisions of "Menu Check"

From Wiki
Jump to: navigation, search
(added description for command parameter's.)
Line 1: Line 1:
 
{{command header|Menu}}
 
{{command header|Menu}}
  
{{body|menu Check {name} {x} {y} {width} {height} {checked} {text}|The [[menu Check]] creates a checkbox on the EasyUO menu.}}
+
{{body|menu Check {name} {x} {y} {width} {height} {checked} {text}|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 ====
 
==== Example ====

Revision as of 08:36, 29 December 2005


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