DeleteStatePictures

Description

Deletes all state pictures from a control.

Applies to

ListView and TreeView controls

Syntax

controlname.DeleteStatePictures ( )

Argument

Description

controlname

The name of the ListView or TreeView control from which you want to delete all state pictures


Return value

Integer.

Returns 1 if it succeeds and -1 if an error occurs.

Examples

This example deletes all state pictures from a ListView control:

lv_list.DeleteStatePictures()

See also

DeleteStatePicture