Difference between revisions of "Menu Check"

From Wiki
Jump to: navigation, search
m
Line 2: Line 2:
  
 
{{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]] creates a checkbox on the EasyUO menu.}}
 +
 +
==== Example ====
 +
<pre>
 +
; 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.
 +
</pre>
 +
  
 
{{footer}}
 
{{footer}}

Revision as of 11:46, 28 December 2005


Synopsis

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

Description

The menu Check creates a checkbox on the EasyUO menu.

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