[Overview][Constants][Types][Classes][Procedures and functions][Index] |
EndLayout finishes layout changes for the control.
Source position: dbgrids.pas line 460
protected procedure TCustomDBGrid.EndLayout; |
EndLayout is a procedure used along with BeginLayout to minimize the number of times layout changed notification events are triggered by the control. Layout changes occur when the control enables certain values in its Options property when AutoAdjustColumn is called and when the Columns collection links to Fields in the associated dataset.
The grid maintains an internal counter that tracks the number of times BeginLayout has been called to start a layout change for the control. EndLayout decrements that counter, and when it reaches 0 (zero), the DoLayoutChanged method is called.
|
BeginLayout starts producing layout changes for the grid control. |
|
|
LayoutChanged links columns to Fields and inserts any required automatic columns. |
|
|
Contains the optional features or behaviors that are enabled for the grid control. |
|
|
Adjust properties in the specified column to display the longest value. |
|
|
Associates column items with the corresponding Fields in the Dataset. |
|
|
Redraws the Grid control that owns the column collection. |
Version 3.2 | Generated 2024-02-25 | Home |