Skip to content

FontWeight - DfBaseWindow

Striking weight of control's font

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer FontWeight
Access Type Syntax
Read Access: Get FontWeight to IntegerVariable
Write Access: Set FontWeight to IntegerVariable/Value

Description

Fontweight is the striking weight of font (0-65536).

Set Fontweight to 500

If you want the control to resize based on the font, use the font interface (FontWeight). If you want the control to stay the same size, use the form_font interface (Form_FontWeight).

Col 1 Col 2
Note: Use piFontWeight instead of FontSize for the cRichEdit class.