EditRowNotify

[event icon] EditRowNotify() Event

Called when editing a new row

Applies to: Grid

Introduced in KCML version 6.00


>

EditRowNotify

The EditRowNotify() event can be used to implement efficient editing of a grid for the very common case where each row of the grid corresponds to a row in a database. The TabThrough property must be set, and will control tab navigation through the grid. Cells to be edited will use the AutoEdit properties.

The following properties are always set when the EditRowNotify() event is entered:

CursorRow Cursor row of cell currently being edited (or 0)
CursorCol Cursor column of cell currently being edited (or 0)
NewRow Cursor row of cell about to be edited (or 0)
NewCol Cursor column of cell about to be edited (or 0)
CancelEdit TRUE iff the edit was terminated by hitting Escape / clicking Cancel

Notes:

Note: The EditRowNotify() event was introduced in 6.00 along with the AutoEdit and TabThrough properties as an easier and more efficient means of editing grids and is recommended for all new coding. However, it does not work with the older EditCell(), EditRow() and EditGrid() methods.

See also

Grid methods, properties and events.