When using Delphi 7 if you go to the Calc tab of the designer and try to drag and drop a snippet of code within the method it will cause an AV. You must cut then Paste the code.
Yes I am using D7 and RB 10.05. Here are the steps.
1. Open Delphi. 2. Place a TppReport Object on the blank form that is displayed. 3. When the Report Builder window is displayed select the Calc Tab. 4. Click on the Events and right click on the OnCreate Event. I have using Module View. 5. Type BackFront in the event handler. You should now have an event that looks like:
procedure GlobalOnCreate; begin BackFront end;
6. Select the word Back. Drag it to the end of the sentence and drop it after the word front. You are trying to get an event that looks like:
procedure GlobalOnCreate; begin FrontBack end;
When you release the button to drop the text you should get an AV. Doing a Copy and Paste works fine. It is only the Drag and Drop.
Thanks for providing the example. We have created a patch to RB 10.05 that fixes this. Registered users of RB 10.05 can email support@digital-metaphors.com and request the patch.
-- Nard Moseley Digital Metaphors www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
I tries a simple testing using D7 and RB 10.05 and did not encounter any
errors.
Are you using RB 10.05?
Can you specify exact steps required to reproduce?
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Yes I am using D7 and RB 10.05. Here are the steps.
1. Open Delphi.
2. Place a TppReport Object on the blank form that is displayed.
3. When the Report Builder window is displayed select the Calc Tab.
4. Click on the Events and right click on the OnCreate Event. I have using
Module View.
5. Type BackFront in the event handler. You should now have an event that
looks like:
procedure GlobalOnCreate;
begin
BackFront
end;
6. Select the word Back. Drag it to the end of the sentence and drop it
after the word front. You are trying to get an event that looks like:
procedure GlobalOnCreate;
begin
FrontBack
end;
When you release the button to drop the text you should get an AV. Doing a
Copy and Paste works fine. It is only the Drag and Drop.
Thanks,
Rich
fixes this. Registered users of RB 10.05 can email
support@digital-metaphors.com and request the patch.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com