WoVariableOptionMenuGetValue Function

Gets the currently selected variable name from an option menu that was created with the WoVariableOptionMenu function.

Usage

varname = WoVariableOptionMenuGetValue(wid)

Input Parameters

wid — Specifies the widget ID returned by WoVariableOptionMenu (long).

Returned Value

varname — A string containing the name of the currently selected variable.

Keywords

None.

Example

See the example given for WoVariableOptionMenu Function.

See Also

WoVariableOptionMenu, WoVariableOptionMenuSetValue