Description
Deletes all pictures from an image list.
Applies to
PictureListBox, DropDownPictureListBox, and TreeView controls
Syntax
controlname.DeletePictures ( )
Argument |
Description |
---|---|
controlname |
The control in which you want to delete all pictures from the image list |
Return value
Integer. Returns 1 if it succeeds and -1 if an error occurs.
Examples
This example deletes all images from a TreeView control image list:
tv_list.DeletePictures()
See also