Title
property (DataWindow object)
Description
The title of the graph.
Applies to
Graph controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.graphname.Title |
Describe and Modify argument:
|
1 |
"graphname.Title { = 'titlestring ' }" |
|
Parameter |
Description |
|---|---|
|
graphname |
In the DataWindow object, the name of the Graph |
|
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 2 3 4 |
setting = dw1.Object.gr_1.Title dw1.Object.gr_1.Title = 'Sales Graph' setting = dw1.Describe("gr_1.Title") dw1.Modify("gr_1.Title = 'Sales Graph'") |