EnumSelect()

Selects an enumeration from a user-defined control such as a pop-up button.

Token ID

AFTKN_SET_ENUMVAL or 642

Syntax

VOID EnumSelect(ANSISTRING Text; 
                   [ANSISTRING ControlName])

Parameters

Text As ANSISTRING

Enumeration to select, such as a list item on a pop-up button control.

ControlName As ANSISTRING

(Optional) Name of a user-defined control. For example, open GroupWise View Designer and create a pop-up button control. Then choose Edit | Item Properties. Type the ControlName in the List Name edit box. This is case sensitive with the actual name given to the control in the designer.