ValueList.CheckItems

Syntax:

CheckItems(<Title>)

Parameters:

<Title> (optional)

Type: String.
Dialog window header. If this parameter is not specified a standard header is used.
Default value: Empty string.

Returned value:

Type: Boolean.
True indicates that the OK button is depressed in the check dialog; otherwise it is False.

Description:

Interactively marks or unmarks items in a list of values.

Availability:

Thin client, web-client, thick client, Mobile application (client).

Note:

If the configuration has the ModalityUseMode property set to DontUse use the ShowCheckItems method instead.

Example:

If PriceTypesList.CheckItems("Types of prices marked for deletion.") Then 
    For 
each Item In PriceTypesList Do
        If Item.Check Then
            Item.Value.GetObject().
            SetDeletionMark(True);
        EndIf
;
    EndDo
;
Else
    Message("UNMARKING types of prices for deletion.");
EndIf
;


    

1C:Enterprise Developer's Community