devxlogo

How to add custom menu and toolbar to report object

How to add custom menu and toolbar to report object

Question:
I’m using Power Objects 2.1 and am trying to add a custom menu and toolbar toa report object. I’ve successfully done this withform objects by using the InitializeWindow, TestCommand and DoCommand methods asoutlined in the OPO User’s Guide.

The book also states that this can be accomplished with report objects. However, contrary to the documentation, I can’t find these methods on the report object property sheet. Am I looking in the wrong place, or is something missing?

Answer:
OPO does not allow you to do much as far as interacting the reportwindow. The InitializeWindow, TestCommand andDoCommand methods do not fire with a report window.

See also  How College Students Can Shape the Future of Tech Responsibility
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist