ManagedForm.ShowChooseFromList
Syntax:
Parameters:
<NotifyOnCloseDescription> (required)
It contains description of the procedure that will be called after selection from the list is completed with the following parameters:
- <SelectedElement> - the selected list item or Undefined if the user has not selected anything;
- <AdditionalParameters> - the value specified when the object is created NotifyDescription.
<ValueList> (required)
The set of values to select from.
<FormElement> (optional)
A form item that will have a drop-down list opened in proximity. For some form items the drop-down list will be displayed near the active area.
If not specified, an active form item will be selected.
Note: You cannot specify buttons from the command panel or submenu for this parameter.
<> (optional)
Assigns the initial element that will be active when the list opens.
If the parameter is omitted, no initial value will be selected in the list.
Description:
Availability:
Example:
List = New ValueList; List.Add("Delivery"); List.Add("Unloading"); List.Add("Picture",,,PictureLib.Picture1); Descr = New NotifyDescription("DoAfterChoose", ThisObject, Parameter); ShowChooseFromList(Descr, List, Items.Button1); |