Controls.Delete

Syntax:

Delete(<Item>)

Parameters:

<Item> (required)

Type: Number; Form element.
Index of the element in the form control collection or the form element itself.

Description:

Deletes control from form.

Availability:

Thick client.

Example:

For each Item In Controls Do
    If Find(Upper(Item.Name),"TMP") > Then
        Controls.Delete(Item);
    EndIf
;
EndDo
;


    

1C:Enterprise Developer's Community