FontPitch – PB Docs 150

FontPitch property for PowerScript controls

Controls

Controls that can display text

Description

The FontPitch property specifies the spacing of the font used
for the text in the control.

When working in a painter, setting the font face name causes
the correct font pitch to be selected.

Usage

In a painter

proc.png To set the font spacing:

  1. Select a font spacing from the FontPitch
    list box on the Font tab page of the control’s Properties
    view.

proc.png To set the font spacing of text objects in a graph
control:

  1. Display the Text tab page of the graph
    control’s Properties view.

  2. Select the desired text object from the Text Object
    list box.

  3. Select a font spacing from the FontPitch list
    box.

In scripts

The FontPitch property takes a value of the FontPitch enumerated
datatype. The following example sets the font pitch for a static
text control:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x