You don't need a plug in for this--add ppDsgner to your uses clause. Now in the designer's Show event add the following code: procedure TForm1.ppDesigner1Show(Sender: TObject); var lDW: TppDesignerWindow; begin lDW := TppDesignerWindow(Sender); lDW.OnCustomSaveDoc := MySave; end;
The designer is both in Delphi and your run time app. And in this case, it is not possible. You may want to send a request to support. (I have long wanted a better-structured, extentable report designer). You may be able to sub-class the designer and over ride it as you want.
You need a DADE plug-in to that supports the specific type of data connectivity components you are using to connect to mySQL.
If you are using Delphi's dbExpress, RB includes a plug-in for dbExpress. On the friends | Data | DADE Plug-ins section of our web site there is a plugin for the MySQLdac components that was created by one of our customers.
Comments
the designer's Show event add the following code:
procedure TForm1.ppDesigner1Show(Sender: TObject);
var
lDW: TppDesignerWindow;
begin
lDW := TppDesignerWindow(Sender);
lDW.OnCustomSaveDoc := MySave;
end;
procedure TForm1.MySave(Sender: TObject);
begin
end;
Setup your custom saving of the report :-)
Enjoy
Ed Dressel
Team DM
Paul
The designer is both in Delphi and your run time app. And in this case, it
is not possible. You may want to send a request to support. (I have long
wanted a better-structured, extentable report designer). You may be able to
sub-class the designer and over ride it as you want.
Ed Dressel
I think Ed misunderstood your question.
You need a DADE plug-in to that supports the specific type of data
connectivity components you are using to connect to mySQL.
If you are using Delphi's dbExpress, RB includes a plug-in for dbExpress. On
the friends | Data | DADE Plug-ins section of our web site there is a plugin
for the MySQLdac components that was created by one of our customers.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com