Object Reference > True DBGrid Events > SplitChange Event |
SplitChange Event
The SplitChange event occurs when the current cell changes to a different cell in another split.
TDBGrid_SplitChange ( )
Event applies to TDBGrid control.
Arguments
None
This event is triggered under several circumstances:
· When the grid is first displayed.
· When the user clicks a cell in another split, subject to the setting of the AllowFocus property.
· When the user presses a navigation key to cross a split boundary, subject to the setting of the TabAcrossSplits property.
· When the Split property is changed in code to a different value.
· When a new split is inserted before the current split via code or user interaction.
· When the current split is removed via code or user interaction.
If the user edits data and then moves the current cell position to a new row in another split, the update events for the original row are completed before the SplitChange event is executed.
If a split change also results in a change to the current row or column, then the SplitChange event will always precede the RowColChange event.