Menu GetNum

From Wiki
Revision as of 14:34, 14 August 2005 by 203.132.66.233 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Menu GetNum

Menu

Synopsis

menu GetNum {name} {default}

Description

The menu GetNum command returns the number in an edit field in the EasyUO menu window in the #menuRes system variable. If the edit field does not hold a number, the default value is returned.


Example

; This will save the text in the edit field named edit_1 into the
; variable #menuRes. If the field is blank it will save 144 into
; the variable #menuRes. This will only work for edit field items.
; #menuRes will return as a number.
menu GetNum edit_1 144

See Also

menu Activate, menu Button, menu Check, menu Clear, menu Combo, menu Delete, menu Edit, menu Font Align, menu Font BGColor, menu Font Color, menu Font Name, menu Font Size, menu Font Style, menu Font Transparent, menu Get, menu Hide, menu HideEUO, menu List, menu Set, menu Shape, menu Show, menu Text, menu Window Color, menu Window Size, menu Window Title, #menuRes

Main_Page Documentation

Menu