RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebButton.StyleRule Property

Applies a style in the page producer's style sheet to the button.

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 button control. The value of StyleRule specifies one of the user-defined style names defined in the page producer's Styles or StylesFile property.

Note: To apply a style definition that is not included in the style sheet, use the button's Style property.
 

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