Previous Topic

Next Topic

Inhoudsopgave

Book Index

ColumnCount Property

Property Property ColumnCount: Integer (R)

Description

Returns the number of available columns in the grid.

Code Snippet

rem Delete the last column in the grid

Dim i

i = idbgridPart.ColumnCount - 1

Msgbox "This action deletes the last column of the grid (" &_

idbgridPart.Columns(i).Name & ")"

idbgridPart.DeleteColumn(idbgridPart.Columns(i).Name)