Skip to content

FontWidth - FontDialog

Specifies the average width, in logical units, of the font's character cell, or character

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

Syntax

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

Description

FontWidth specifies the average width, in logical units, of the font's character cell, or character. If set to 1, the Low value of the FontSize of this object will be passed to the font dialog.

Procedure SetupSize
  Integer Selected

  Get FontDialog To Selected
  If Selected ;
    Set FontSize (FontTextBox(self)) To ;
                 (FontHeight(FontDlg)) ;
                 (FontWidth(FontDlg))
End_procedure // SetupSize