fontBold

Type: Boolean

Availability: Read or write at any time

The fontBold property of the Control class specifies whether the font style is bold. This property is defined for all controls, but it has no meaning in some cases. For example, a scroll bar control has no text, and therefore the font is not relevant.

The settings for the fontBold property are listed in the following table.

Value Description
true Turns on the bold formatting
false Turns off the bold formatting (the default)

For the Table control, the accessMode, accessedSheet, accessedRow, accessedColumn, or accessedCell property determines whether the font property for the current sheet, cell, column, or row is being accessed. Changing the sheet font causes the default table row height to be changed.

Changing the font for a cell or row causes the current height of the row to change, unless the rowHeight property has been set for the row. Changing the font for a column causes all rows that do not have the rowHeight property set to have at least the font height size.

Use the fontBold property to format text, either in the JADE development environment or at run time by using logic.

For the JadeTextEdit control, the clearAllStyles method copies the value of this property to the default text style; that is, STYLE_DEFAULT (32).

The font uses the application font if the fontName property for the control is set to Default during painting or to an empty string at run time. The fonts that are available in JADE vary, according to your system configuration, display devices, and printing devices.

Use the Control class setFontProperties method to change the fontBold, fontName, and fontSize properties at the same time.