Difference between revisions of "Menu GetNum"

From Wiki
Jump to: navigation, search
(Applying templates (header, body, footer))
m
Line 1: Line 1:
 
{{command header|Menu}}
 
{{command header|Menu}}
  
{{body|menu Font GetNum {name} {default} |The [[menu GetNum]] command returns the number in an edit field in the EasyUO menu window in the [[var_menuRes|#menuRes]] system variable. If the edit field does not hold a number, the default value is returned.}}
+
{{body|menu GetNum {name} {default} |The [[menu GetNum]] command returns the number in an edit field in the EasyUO menu window in the [[var_menuRes|#menuRes]] system variable. If the edit field does not hold a number, the default value is returned.}}
  
  

Revision as of 05:12, 23 September 2005


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

Main Page Documentation