ValueList.ShowChooseItem
Syntax:
Parameters:
<NotifyOnCloseDescription> (required)
It contains description of the procedure that will be called after the item selection dialog is closed with the following parameters:
- <SelectedElement> - if the user does not select anything, then Undefined,
- <AdditionalParameters> - the value specified when the object is created NotifyDescription.
<Title> (optional)
The selection window title. If the parameter is omitted, the standard title is used.
Default value: Null string.
<Item> (optional)
It specifies the item to position at in the beginning of interactive selection. If the parameter value is not in this list, no positioning will happen.
Description:
Availability:
Example:
Notification = New NotifyDescription("AfterItemSelection", ThisForm); PriceTypesList.ShowChooseItem(Notification, "Select type of prices."); //... &AtClient Procedure AfterItemSelection(ItemSelection, ListOfParameters) Export If ItemSelection = Undefined Then Message("Type of prices not selected."); Else SelectedValue = ItemSelection.Value; EndIf; EndProcedure |