Deletes a state picture from a control.
ListView and TreeView controls
controlname.DeleteStatePicture ( index )
Argument |
Description |
---|---|
controlname |
The name of the ListView or TreeView control from which you want to delete a picture from the state image list |
index |
The index number of the state picture you want to delete |
Integer. Returns 1 if it succeeds and -1 if an error occurs.
This example deletes a state picture from a ListView control:
lv_list.DeleteStatePicture(1)