[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Allows a mouse click on an out-of-bounds cell; moves cursor to nearest valid cell.
Source position: grids.pas line 1193
protected property TCustomGrid.AllowOutboundEvents : Boolean |
Normally, when a user clicks on a point over the empty space after cells (for example if grid has three rows but user clicks on imaginary fourth row) the current focused cell will move to the nearest cell to clicked point. We call this an outbound event.
The default value or the property is True, as this has been the grid's behavior since the beginning.
This was added to mimic Delphi behavior where outbound events are not available; to enable Delphi compatibility, set AllowOutboundEvents to False.