Difference between revisions of "Menu Get"
From Wiki
(→See Also) |
|||
Line 1: | Line 1: | ||
− | |||
__NOTOC__ | __NOTOC__ | ||
== Menu Get == | == Menu Get == | ||
Line 8: | Line 7: | ||
=== Description === | === Description === | ||
The [[menu Get]] command returns value associated with a control in the EasyUO menu window in the [[var_menuRes|#menuRes]] system variable. If the window is closed "Closed" is returned. | The [[menu Get]] command returns value associated with a control in the EasyUO menu window in the [[var_menuRes|#menuRes]] system variable. If the window is closed "Closed" is returned. | ||
+ | |||
+ | Usage with a combo box returns the index of the item selected within the combo box, starting with 0, for nothing selected. | ||
==== Example ==== | ==== Example ==== |
Revision as of 13:33, 22 September 2005
Menu Get
Menu
Synopsis
menu Get {name}
Description
The menu Get command returns value associated with a control in the EasyUO menu window in the #menuRes system variable. If the window is closed "Closed" is returned.
Usage with a combo box returns the index of the item selected within the combo box, starting with 0, for nothing selected.
Example
; This will save the text in the edit field named edit_1 into the ; variable #menuRes. This will only work for edit field items. ; #menuRes will return as a string. menu Get edit_1
See Also
Main_Page | Documentation |