Difference between revisions of "Menu GetNum"

From Wiki
Jump to: navigation, search
(See Also)
(Applying templates (header, body, footer))
Line 1: Line 1:
__NOTOC__
+
{{command header|Menu}}
== Menu GetNum ==
+
'''Menu'''
+
=== Synopsis ===
+
[[menu GetNum]] {name} {default}
+
  
=== Description ===
+
{{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>
  
==== See Also ====
+
{{footer}}
{|
+
| [[menu_Activate|menu Activate]], [[menu_Button|menu Button]], [[menu_Check|menu Check]], [[menu_Clear|menu Clear]], [[menu_Combo|menu Combo]], [[menu_Delete|menu Delete]], [[menu_Edit|menu Edit]], [[menu_Font_Align|menu Font Align]], [[menu_Font_BGColor|menu Font BGColor]], [[menu_Font_Color|menu Font Color]], [[menu_Font_Name|menu Font Name]], [[menu_Font_Size|menu Font Size]], [[menu_Font_Style|menu Font Style]], [[menu_Font_Transparent|menu Font Transparent]], [[menu_Get|menu Get]], [[menu_Hide|menu Hide]], [[menu_HideEUO|menu HideEUO]], [[menu Image Create| menu Image Create]], [[menu Image Ellipse|menu Image Ellipse]], [[menu Image File|menu Image File]], [[menu Image FloodFill|menu Image FloodFill]], [[menu Image Line|menu Image Line]], [[menu Image Pix|menu Image Pix]], [[menu Image PixLine|menu Image PixLine]], [[menu Image Pos|menu Image Pos]], [[menu Image Rectangle|menu Image Rectangle]], [[menu_List|menu List]], [[menu_Set|menu Set]], [[menu_Shape|menu Shape]], [[menu_Show|menu Show]], [[menu_Text|menu Text]], [[menu_Window_Color|menu Window Color]], [[menu_Window_Size|menu Window Size]], [[menu_Window_Title|menu Window Title]], [[var_menuRes|&#0035;menuRes]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px |
+
[[Documentation#Menu |Menu ]]
+
|}
+

Revision as of 06: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