FontFamily – PB Docs 126

FontFamily property for PowerScript controls

Controls

Controls that can display text

Description

The FontFamily property sets the type style used for the text
in the control.

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

Usage

In a painter

proc.png To set the font type style:

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

proc.png To set the font type style 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 style from the FontFamily list box.

In scripts

The FontFamily property takes a value of the FontFamily enumerated
datatype. The following example sets the FontFamily for a static
text control to Roman:


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