DeleteColumns

Description

Deletes all columns.

Applies to

ListView controls

Syntax

listviewname.DeleteColumns ( )

Argument

Description

listviewname

The name of the ListView control from which you want to delete all columns


Return value

Integer.

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

Examples

This example deletes all columns in a ListView control:

lv_list.DeleteColumns()

See also

DeleteColumn