RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.ColWidthsChanged Method

Updates the column widths in the Columns property when the user resizes the columns.

Pascal
procedure ColWidthsChanged; override;
C++
virtual __fastcall ColWidthsChanged();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!