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

Drag And Drop Causes AV

edited January 2007 in RAP
Hi,

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.

Thanks,
Rich

Comments

  • edited January 2007

    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
  • edited January 2007
    Hi Nard,

    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
  • edited January 2007
    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
This discussion has been closed.