RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THTMLTableAttributes.RestoreDefaults Method

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

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

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

Align to haDefault. (Delphi) or haDefault; (C++) 

Border, CellPadding, and CellSpacing to –1. (Delphi) or -1; (C++) 

Custom to an empty string. 

Width to 100. (Delphi) or 100; (C++) 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!