ValueList.ShowCheckItems
Syntax:
Parameters:
<NotifyOnCloseDescription> (required)
It contains a description of the procedure that will be called after the item selection dialog is closed with the following parameters:
- <List> - if you click "OK", then ValueListthat had marking of its items completed; Undefined - if you click "Cancel";
- <AdditionalParameters> - the value specified when the object is created NotifyDescription.
<Title> (optional)
The dialog window title. If the parameter is omitted, the standard title is used.
Default value: Null string.
Description:
Availability:
Example:
Notification = New NotifyDescription("AfterItemSelection", ThisForm); PriceTypesList.ShowCheckItems(Notification, "Price types to be deleted."); //... AtClient Procedure AfterItemSelection(List, Parameters) Export If List = Undefined Then Message("Mark for deletion of price types is cancelled."); Else For Each Item from List Do If Item.Check Then Item.Value.GetObject(). SetDeletionMark(True); EndIf; EndDo; EndIf; EndProcedure |