Weight – PB Docs 150

Weight property for PowerScript controls

Controls

Controls that can display text

Description

The Weight property specifies the stroke weight of the text
in the control.

Usage

In a painter

proc.png To set the stroke weight of all text in a control:

  1. Display the Font tab page of the control’s
    Properties view and select the Bold check box, or select the control
    and then click the B button on the StyleBar.

proc.png To set the stroke weight of a text object in a
graph control:

  1. Display the Text tab page of the graph
    control’s Properties view and select the desired text object
    from the Text Object list box.

  2. Select the Bold check box.

In scripts

The Weight property takes an integer value. 400 indicates
a normal weight and 700 indicates a bold weight. The following example
sets the text labels of the tab pages of a tab control to bold:


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