Member variable Xbp3State():caption Foundation

The caption of the three state button.

Attribute: EXPORTED
Data type: Character string ("")
Description

The caption is the part of the three state button displaying text. Only the caption (and not the button area) can be altered. The caption text must be assigned as a character string before the method :create()is called.

When displayed, the text of the caption is shown in the foreground color and the caption background in the background color of the three state button. For just the text to be visible, the background color must have the same value as the background color of the parent. The default values can be set in the system configuration. To change only the background color to differ from the default value, a color constant can be assigned to the instance variable :colorBG. If the parent is the drawing area of a dialog window (XbpDialog:drawingArea) the background color can be set for all children using the method XbpDialog:drawingArea:setColorBG().

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.