MSG-CANCEL-ENTRY (value 16394)

This event occurs when the user leaves entry mode in a grid control by pressing the Cancel key (under Windows, this is the Escape key). The contents of the cell are restored to the cell's contents prior to the start of the entry. EVENT-DATA-1 contains the column number of the cell, and EVENT-DATA-2 contains its record number. For convenience, the properties X and Y are set to the cursor's cell for the duration of this event. This event also occurs in the special case where the user enters spaces (or nothing) into a cell that is in a record past the end of the last record added to the grid. This is to prevent variable-length grids (that is, NUM-ROWS of -1) from expanding when the user enters empty data.