RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseAdapterPageProducer.DeclareStyles Method

Returns an HTML Styles tag that declares the styles specified by the Styles or StylesFile property.

Pascal
function DeclareStyles: string; virtual;
C++
virtual __fastcall AnsiString DeclareStyles();

The GeneratePageElements method calls DeclareStyles to generate the HTML that declares a stylesheet in the generated HTML page. DeclareStyles uses the StylesFile property to determine the styles it declares. If StylesFile is an empty string, DeclareStyles uses the Styles property instead. If both StylesFile and Styles are set to empty strings, DeclareStyles returns an empty string. 

 

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