Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

MISSING ROUTINES FROM NEW REPORT BUILDER's DESIGNER WINDOW

edited October 2011 in General
Moving from dELPHI 7 T0 DELPHI 2010 - & FROM Reportbuilder 7.x to 11.x

Seems extensive changes have been made to the classes. Below are two
operations that have been moved and I spent a couple of hours looking for
where things may now be located with not luck.

LOADTEMPLATE and FILNNEWCLICK are unavailable - see below.

dsg:=tppdesigner.create(self);
try
dsg.inistoragename:= gettempdir+'rbuilder.ini';
dwin:= tppdesignerwindow(dsg.form);

rp.template.filename:=ss;
dsg.report:= rp;
if trim(rp.template.filename)<>'' then
begin
dwin.LOADTEMPLATE(rp);
rp.reset; //clears any calcs - new data
rp.parameters.clear; //clears any old params - new data
end
else
begin
dwin.FILENEWCLICK(nil);
end;

Comments

  • edited October 2011
    Hi Shane,

    For future reference, please post to these newsgroups using your full
    name. Also, please do not post using all capital letters in the
    subject. This implies that you are yelling and is not in the spirit of
    our support community :).

    Many changes were made to the designer between versions 7 and 11. Take
    a look at the section in the RB Wiki site on customizing the designer
    for some helpful examples on some of the changes. Also, it is helpful
    to take a look at the underlying code relating to what you need to
    accomplish to get a better idea what has been changed and how the
    designer currently functions.

    For instance, the actions you wish to perform below are now handled by
    the Design Controller TppDesignDocumentControler. These controllers can
    be accessed using the TppDesignWindow.DesignControllers property.

    ppDesigner1.Form.DesignControllers.DocumentController

    http://www.digital-metaphors.com/rbWiki/End-User/Designer

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2011
    Sorry, and thanks

    shan

This discussion has been closed.