RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TQueryText.StyleRule Property

Applies a style in the page producer's style sheet to the generated display control.

Pascal
property StyleRule: string;
C++
__property AnsiString StyleRule;

Use StyleRule to assign one of the user-defined styles in the HTML document's style sheet to the generated display control. The value of StyleRule specifies one of the user-defined style names defined in the page producer's Styles or StylesFile property. 

To apply a style definition that is not included in the style sheet, use the Style property instead.

Note: To apply a style to the control's label, use the CaptionAttributes property instead.
 

 

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