[Overview][Constants][Types][Classes][Procedures and functions][Index] |
AllowOutboundEvents - permits mouse click on an imaginary (out-of-bounds) cell; moves cursor to nearest valid cell
Source position: grids.pas line 987
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.
Default value is true, as this has been the grid's behaviour since the beginning.
This property was added to simulate Delphi behaviour where outbound events are not available; to enable Delphi compatibility set this property to false.
lazarus-ccr.sourceforge.net |