TppDesignerWindow
I recently upgraded to version 10.04 from 7.x and some of my code will
not compile. Most of it has to do with methods that seem to have been
removed from the TppDesignerWindow class. Where did the following
methods go:
NewReportFromWiz
NewReport
CheckReportDelete
CheckComponentAdd
LoadTemplate
ToolbarManager.FindToolBar (and the entire TppStandardToolbar class)
Mike Hubbard
not compile. Most of it has to do with methods that seem to have been
removed from the TppDesignerWindow class. Where did the following
methods go:
NewReportFromWiz
NewReport
CheckReportDelete
CheckComponentAdd
LoadTemplate
ToolbarManager.FindToolBar (and the entire TppStandardToolbar class)
Mike Hubbard
This discussion has been closed.
Comments
The designer has been drasticly changed for RB 10.x. The following examples
will give you a good idea how to perform a few of the tasks you have listed
below. The CheckReportDelete and CheckComponentAdd are available from the
TppDesignDocumentController as well. The LoadTemplate routine is now
protected but you should be able to use the Open command in the
DocumentController to perform this task.
NewReportFromWiz:
ppDesigner1.Form.DesignControllers.DocumentController.New(True);
NewReport:
ppDesigner1.Form.DesignControllers.DocumentController.New(False);
Toolbar examples:
http://www.digital-metaphors.com/tips/Designer10_CustomizeMenusAndToolbars.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
When I load some of my report templates in the designer, I get an
exception that says "Class TraCodeModule not found." From looking
around in the forum, that error seems to be related to using RAP, but
I am not using RAP. What could be the cause of this error?
Mike
Please ignore, when I add raIDE to the uses clause the problem goes
away, so I think that I was using RAP for a few reports.
Thanks again for all the help.
Mike