Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

DisplayExpression – PB Docs 2021 – PowerBuilder Library

DisplayExpression – PB Docs 2021

DisplayExpression

property for PowerScript controls

Applies to

grDispAttr objects within Graph controls

Description

The DisplayExpression property specifies an expression whose value
is the label for a specified text object within the Graph control.

The default expression is the value of the property containing the
text for the graph component.

Usage

In a painter

To specify a display expression for a text object:

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

  2. Select the text object for which you want to define a display
    expression from the Text Object list box.

    The default value of the DisplayExpression property is displayed
    in the DisplayExpression field.

  3. Specify the display expression in the Display Expression field,
    or click the More button to display the Modify Expression dialog
    box.

In scripts

The DisplayExpression property can be set using the grDispAttr
object for each text component. DisplayExpression takes a string, which
can contain an expression.

The following example appends today’s date to the title of the
graph:


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