Form.ChooseFromList
Syntax:
Parameters:
<ListOfValues> (required)
Value list containing values from which selection is made.
<FormElement> (optional)
Note: Do not specify command bar or submenu buttons as values of this parameter.
<InitialValue> (optional)
Assigns initial element that will be active when the list opens. If the parameter is not specified, no initial value will be selected on the list.
Returned value:
Value selected from the menu or Undefined, if the user has cancelled the selection.
Description:
Availability:
Note:
Example:
List = New ValueList; List.Add("Delivery"); List.Add("Unloading"); List.Add("Picture",,,PictureLib.Picture1); Type = ChooseFromList(List, Item); |