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