Interface MultiSourceEvent::getPrintPreview


Description

In BBj 7.0 and higher, this method calls SysGuiEvent::getControl() and casts the return value to a BBjPrintPreview.

Syntax

Return Value

Method

BBjPrintPreview

getPrintPreview()

Parameters

None.

Return Value

Returns the BBjPrintPreview that is the source of the event.

Remarks

If the source of the event is not a BBjPrintPreview, then this method will throw an !ERROR=26.

Example

 

See Also

BBjAPI

BBjSysGui

BBjSysGuiEvent::getControl

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