FontWeight

Applies to

DatePicker controls

Description

The FontWeight property specifies the stroke weight of the text in the control.

Usage

In the painter

To set the stroke weight of all text in a control:

  • Display the Font page in the control's Properties view and select the Bold check box, or select the control and click the B button on the StyleBar.

In scripts

The FontWeight property takes an integer value. A value of 400 indicates a normal weight, and 700 indicates a bold weight. The following example sets the text labels of the tab pages of a tab control to bold:

dp_1.FontWeight = 700