RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBGridColumns.RestoreDefaults Method

Restores all columns to their default settings.

Pascal
procedure RestoreDefaults;
C++
__fastcall RestoreDefaults();

RestoreDefaults iterates through the Items array, calling the RestoreDefaults method for each TColumn object. This method removes all changes made to properties of the TColumn objects and restores the default settings. 

 

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