Vcl.DBGrids.TCustomDBGrid.ColWidthsChanged
Delphi
procedure ColWidthsChanged; override;
C++
DYNAMIC void __fastcall ColWidthsChanged();
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TCustomDBGrid |
説明
列のサイズが変更されたときに Columns プロパティ内の列幅を更新します。
アプリケーションで直接 ColWidthsChanged を呼び出すことはできません。ColWidthsChanged は,グリッド内の列のサイズが変更されたときに自動的に呼び出されます。ColWidthsChanged は,継承メソッドをオーバーライドして,Columns プロパティ内の列幅を更新します。