WoVariableOptionMenuSetValue Procedure

Sets the current selection in the variable option menu.

Usage

WoVariableOptionMenuSetValue, wid, value

Input Parameters

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

value — Specifies a string containing the new variable name to set.

Keywords

None.

Discussion

The variable name option menu cannot be modified once it has been created, except to set the current selection. If the list of variable names changes, the option menu must be recreated.

If no matching option menu values are found, the label None is used.

Example

See the example given for WoVariableOptionMenu Function.

See Also

WoVariableOptionMenu, WoVariableOptionMenuGetValue