Title DataWindow object property
Description
The title of the graph.
Controls
Graph controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>graphname</span>.Title |
Describe and Modify argument:
1 |
"<span>graphname</span>.Title { = ' <span>titlestring </span>' }" |
Parameter |
Description |
---|---|
graphname |
In the DataWindow object, the name of |
titlestring |
A string specifying the graph’s |
Usage
In the painter
Select the control and set the value in the Properties view, General
tab, Title option.
The default expression for the Title.DispAttr.DisplayExpression
property is “title”, which refers to the value of the Title property.
The display expression can combine the fixed text of the Title property
with other text, functions, and operators. If the expression for
Title.DispAttr.DisplayExpression does not include the Title property,
then the value of the Title property will be ignored.
For an example, see DispAttr.fontproperty.
Examples
1 |
setting = dw1.Object.gr_1.Title |
1 |
dw1.Object.gr_1.Title = 'Sales Graph' |
1 |
setting = dw1.Describe("gr_1.Title") |
1 |
dw1.Modify("gr_1.Title = 'Sales Graph'") |