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.