Syntax
xBool PopUpSelect( PopUpMenu *popUp, int position );
Arguments
popUp the pop-up menu.
position the one-based position of an enabled item with a regular caption, or 0 to clear the selection.
Return value
T on success, or F if the object is NULL or position is outside the item list or refers to a disabled item or a separator.
Description
The call changes the current position independently of whether the menu is open. Call `PopUpDisplay()` to redraw the selection in an open menu.