DeleteColumn

Description

Deletes a column.

Context

ListView controls

Syntax

listviewname.DeleteColumn ( index )

Argument

Description

listviewname

The name of the ListView control from which you want to delete a column

index

The index number of the column you want to delete

Returns

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

Examples

Example 1

This example deletes the second column in a ListView control:

lv_list.DeleteColumn(2)

See also