'Rave Report DisplayOn components doParent

How i can change displayOn settings of rave report component declared in rvDefine unit of delphi?

I want to change displayOn of component bitmap in the rave report from doParent to doPreviewOnly or doPrintOnly before printing the report

I try this code: (Mybitmap is the rave component in report) Mybitmap.displayOn.doParent;

but is failed the message of delphi show that i must delacred an object or class



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source