Home > Language Reference > Classes > Grid

Click Event

Raised when the user clicks the control.

Syntax

Public Event Click(ByVal iRow As Integer, ByVal iCol As Integer, ByVal lItemData As Long, ByVal bNote As Boolean)

ParameterDescription
iRowRow index
iColColumn index
lItemDataAssociated value
bNoteBoolean indicating if the click was on the 'Note' symbol in a 'Text with note' column

Remarks

The Click event is raised when the user clicks on a Grid control.

The iRow parameter contains the row index. This parameter is in the range 0 to Rows -1.

The iCol parameter contains the column index. This parameter is in the range 0 to the number of columns -1 (see Columns).

The lItemData parameter contains the value associated with the row. This value of type Long is associated with the row when calling the AddItem or ItemData methods.

The bNote parameter is a Boolean value indicating for columns of type 'Text with note' if the 'Note' symbol was clicked.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0-
Windows CEWindows CE 3.0-