Menu GetNum

From Wiki
Revision as of 03:54, 23 August 2005 by Boydon (Talk | contribs) (See Also)

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 Image Create, menu Image Ellipse, menu Image File, menu Image FloodFill, menu Image Line, menu Image Pix, menu Image PixLine, menu Image Pos, menu Image Rectangle, menu List, menu Set, menu Shape, menu Show, menu Text, menu Window Color, menu Window Size, menu Window Title, #menuRes

Main_Page Documentation

Menu