EditReason

[property icon] EditReason

Returns the reason for the termination of EditRow()

Integer property

Applies to: Grid


>

EditReason

This property is used within the EndEdit() event handler to determine the reason for the termination of a grid editing session. The codes returned by this property are as follows:

0 Unknown
1 Tab at end of row
2 Shift-Tab at beginning of row
3 Return key pressed
4 Escape key pressed
5 Mouse click on another part of the grid
6 Mouse click or focus moved to another control or application

See also

Grid methods, properties and events.