Skip to content

pbUseWindowsFont - cDesktop

Determines whether the application uses Windows system fonts

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

Syntax

Property Boolean pbUseWindowsFont
Access Type Syntax
Read Access: Get pbUseWindowsFont to BooleanVariable
Write Access: Set pbUseWindowsFont to BooleanVariable/Value

Description

Determines whether the application uses Windows system fonts as its global font. The global font is the font that is applied to all DataFlex windows objects as the default. Note that this property has no effect on COM/ActiveX objects, which usually use the Windows system font as the default.

The False setting of this property is a legacy mode setting. When false, your application will use MS Sans Serif with a Physical_FontSize of 12 as its global font.

Sample

Set pbUseWindowsFont of Desktop to False

You will almost always use the cApplication class version of pbUseWindowsFont. Use the cDesktop class version only if you are not using an application object.

Default is True.