Skip to content

ReportObject - cDRMenuItem

Method Type

Function

Return Type

Handle

Arguments

None

Description

This method returns the cDRReport object ID that the command bar object needs to communicate with.

If phoReport of the menu item object is -1 (minus 1), the function will retrieve phoReport of a parent object (usually the component).

Sample

If ((iZoomFactor >= 25 and iZoomFactor <= 500) or iZoomFactor = -1 ;
    or iZoomFactor = -2) Begin
    Get ReportObject to hoReport
    Set piPreviewZoom of hoReport to iZoomFactor
End