RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TValueListEditor.ColWidthsChanged Method

Responds when the column widths change.

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

ColWidthsChanged is called immediately after the column widths change. The change can result from setting the ColWidths property, from setting the DefaultColWidth property, from moving one of the columns, or from resizing the columns with the mouse. 

ColWidthsChanged adjusts the scroll bar and the position of the inplace editor to take into account the new column size and positions of the columns. 

 

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