BBjWindow::getGenericChart

Description

In BBj 7.00 and higher, this method returns a BBjControl object in the BBjWindow cast to a BBjGenericChart.

In BBj 11.00 and higher, this method supports reference to the BBjGenericChart by name with a (string name) parameter.

Syntax

Return Value

Method

BBjGenericChart

getGenericChart(int controlID)

BBjGenericChart

getGenericChart(string name)

Parameters

Variable

Description

controlID

Specifies the ID of the control.

name

Specifies name given to a BBj control using the setName method.

Return Value

This convenience method calls getControl() and casts the result to a BBjGenericChart.

Remarks

If the control is not a BBjGenericChart, this method will generate an !ERROR=26.

See Also

BBjAPI

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.