DataGrid REALbasic Plugin

DataGrid.OnEditCell Event

This event is fired when a cell is supposed to go in edit mode.

OnEditCell(
   x as Integer,
   y as Integer,
   cellLeft as Integer,
   cellTop as Integer,
   cellWidth as Integer,
   cellHeight as Integer,
   doubleClick as Boolean)

Parameters

x
The column that is supposed to go in edit mode.
y
The row that is supposed to go in edit mode.
cellLeft
The left position of the cell.
cellTop
The top position of the cell.
cellWidth
The cell width.
cellHeight
The cell height.
doubleClick
True if the request for this event was initiated by a double click, else false.

Remarks

To put a cell in edit mode a custom made DirectEditing support class is needed.

See Also

DataGrid Control