Hi Mark,
I had a similar problem once with a form failing to open in design
mode. I still haven't figured out why it was happening, but managed to
work my way around the problem. Essentially I had a TDatabase component
on the main form that wasn't using an Alias, just had path parameter and
some other stuff. I managed to open the form that was failing to load
by setting the TDatabase PATH parameter to somewhere where the tables
did not exist - I got various TTable open errors, but just ignored
them. Once the form was open, I was able to return to the main form,
set the PATH parameter back to what it should have been, then return to
the problematic form and set all TTable components (3 or 4 of them) to
Active.
Don't know if this helps or is related, but maybe it will give you an
idea?
Regards,
Bevan
Mark Derricutt wrote:
>
> I have a problem in the form creation of one of my projects. The
> access violation is occuring 'somewhere' after the call to:
>
> Application.CreateForm(TformMain, formMain);
>
> And before any code in the TformMain class is called. I've tried single
> stepping through code to find out whats crashing but I'm getting stuck in
> a recursive call to TRxSpeedButton.Notification() so can't find whats
> crashing this way.
>
> Does anyone have any hints as to how I could find which component/object
> is causing the access viol?
>
> Mark
>
> --
> I am naked, hear me purr.
> Now Playing: John Williams - Piazzolla: Verano Porteno (Tango)
>
> ---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
--
Bevan Edwards mailto:[EMAIL PROTECTED]
Achieve Software Limited http://www.achieve.co.nz
Phone: (64-9) 444-4210 ICQ: 732011
Fax: (64-9) 444-4201
Mobile: (64-21) 979-603
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz