Vcl.DBGrids.TCustomDBGrid.ColWidthsChanged
Delphi
procedure ColWidthsChanged; override;
C++
DYNAMIC void __fastcall ColWidthsChanged();
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TCustomDBGrid |
Description
Updates the column widths in the Columns property when the user resizes the columns.
Applications cannot directly call ColWidthsChanged. It is called automatically when the user resizes the columns in the grid. ColWidthsChanged overrides the inherited method to update the column widths in the Columns property.