Timer_Interval  Title.DispAttr.fontproperty

Chapter 3: DataWindow Object Properties

Title

Description

The title of the graph.

Applies to

Graph controls

Syntax

PocketBuilder dot notation:

dw_control.Object.graphname.Title

Describe and Modify argument:

"graphname.Title { = ’ titlestring ' }"

Parameter

Description

graphname

In the DataWindow object, the name of the Graph control for which you want to get or set the title.

titlestring

A string specifying the graph’s title.

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

Example 1

setting = dw_1.Object.gr_1.Title

Example 2

dw_1.Object.gr_1.Title = 'Sales Graph'

Example 3

setting = dw_1.Describe("gr_1.Title")

Example 4

dw_1.Modify("gr_1.Title = 'Sales Graph'")





Copyright © 2004. Sybase Inc. All rights reserved. Title.DispAttr.fontproperty

View this book as PDF