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)
| Parameter | Description |
| iRow | Row index |
| iCol | Column index |
| lItemData | Associated value |
| bNote | Boolean 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
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | - |
| Windows CE | Windows CE 3.0 | - |