RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.SetColumnAttributes Method

Sets the column widths and disables tabbing to cells that can't be edited.

Pascal
procedure SetColumnAttributes; virtual;
C++
virtual __fastcall SetColumnAttributes();

Applications cannot call this protected method. It is called automatically when the Columns property is recomputed, to adjust the column widths and ensure that the user can only tab to fields that can be edited. 

 

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