RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THTMLTableColumn.RestoreDefaults Method

Changes all properties of the attributes object back to their initial settings.

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

Call RestoreDefaults to undo any changes that were made to the table element attributes either programmatically, or using the Columns editor at design time. RestoreAttributes sets 

Align to haDefault, and VAlign to haVDefault. 

BgColor to an empty string. 

Custom to an empty string. 

It also restores the default settings for the THTMLTableHeaderAttributes object that represents the title of the column. 

 

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