Home End User

AV when rep.explorer is not modal

edited September 2002 in End User
Hi,

I need the reportexplorer form not to be modal.
But closing the "mainform" before the reportexplorer form will cause an AV.

I tried to close the rep.expl. form in the destructor of the "mainform"
through the
reportexplorer.close method, but this also gives a AV.

destructor TfrmRbExplorer.Destroy;
begin
ReportExplorer.Close;
inherited;
end;

Is there a solution for this problem ?

TIA,

Best regards,
Nico.

Comments

  • edited September 2002
    Hi,

    The patch of thread "Report explorer bug in 6.03" causes this AV.

    Best regards,
    Nico.
  • edited September 2002
    All you need to do is close the main form. When you do this, the report
    explorer should close. You don't have to call close on the report explorer
    in the destructor of the main form. You can use the form's OnClose event if
    you want to perform actions on controls before they are freed when the main
    form closes.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited September 2002
    Hi Jim,



    This gives an AV when the patch is used.

    Best regards,
    Nico.
  • edited September 2002
    In the form's OnClose event, you can call ReportExplorer.Close. This should
    workaround the problem. I ran the same test in RB 7 and it doesn't show any
    problems. You can upgrade to RB 7 for Delphi 6 as the other option. Contact
    info@digital-metaphors.com with your registration info if you would like to
    upgrade or visit our website to place the upgrade order
    www.digital-metaphors.com


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited September 2002
    Hi Jim,

    Contact
    to

    I have been trying to contact them for days.
    See my thread in general "Where to get a free 7.0 upgrade"
    The only anwser i got (after sending 2 mails) is that i can purchase it
    online for $429.00. :-( ????
    I purchased rb Enterprise on august-19-2002.(6.03)
    As far as i know it is stated that purchase after free upgrades
    are available !!

    So yes i want to upgrade !!!! (for free)

    Best regards,
    Nico.
  • edited September 2002
    I posted repsonse to the general thread.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.