Web.DBWeb.THTMLTableColumn.RestoreDefaults
Delphi
procedure RestoreDefaults;
C++
void __fastcall RestoreDefaults();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Web.DBWeb.pas Web.DBWeb.hpp |
Web.DBWeb | THTMLTableColumn |
Description
Changes all properties of the attributes object back to their initial settings.
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.