Difference between revisions of "Menu GetNum"
From Wiki
(→See Also) |
(Applying templates (header, body, footer)) |
||
Line 1: | Line 1: | ||
− | + | {{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.}} | |
− | 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. | + | |
Line 17: | Line 12: | ||
menu GetNum edit_1 144</pre> | menu GetNum edit_1 144</pre> | ||
− | + | {{footer}} | |
− | { | + | |
− | + | ||
− | + | ||
− | + | ||
− | { | + | |
− | + | ||
− | + | ||
− | + |
Revision as of 05:10, 23 September 2005
Synopsis
menu Font 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 |