Member variable XbpStatic():visualStyle Foundation

Specifies the visual style to use for display.

Attribute: EXPORTED
Data type: Object (NIL)
Description

The default representation used for creating the visual representation of an XbpStatic object can be overridden using the :visualStyleinstance variable. To do this, an instance of the XbpHTMLStyle() class must be assigned to :visualStyle, which is then used to draw the object.

HTML style objects use HTML markup and optional CSS style sheets to create the visual representation of a static object. For this, the corresponding HTML markup must be specified as the caption of the static. In addition, if a CSS style sheet is to be used, the CSS must be supplied when instantiating the XbpHTMLStyle object. See XbpPushButton:visualStylefor an example for using a HTML style object.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.