ziche
asked on
IDE's first form opened
My application has a Data module that has a TADOConnection control which the other forms use to access an Access database.
At design time when I try to open any form that has controls that referance this Modual when this modual is not open before-hand, Delphi (6) bombs out and closes itself.
Till now I have lived with this but now my 'Projects/Options/Main Form' needs to referance this Modual.
Iv noticed that the IDE automatically loads the Main Form when a project is opened. You can imagin the problem this causes. Now whenever I attempt to open such a project, Delphi automatically bombs out!
What do I do?
Is it possible to make the IDE to load up the Modual first before any other form?
How do you make the IDE load a form/modual, other than the Main Form, first when a project is opened?
At design time when I try to open any form that has controls that referance this Modual when this modual is not open before-hand, Delphi (6) bombs out and closes itself.
Till now I have lived with this but now my 'Projects/Options/Main Form' needs to referance this Modual.
Iv noticed that the IDE automatically loads the Main Form when a project is opened. You can imagin the problem this causes. Now whenever I attempt to open such a project, Delphi automatically bombs out!
What do I do?
Is it possible to make the IDE to load up the Modual first before any other form?
How do you make the IDE load a form/modual, other than the Main Form, first when a project is opened?
ASKER
1. The module is already at the top, this doesnt help.
2. How do I do this exactly?
2. How do I do this exactly?
Hi
Ad 2.
Just Cut Line and copy earlier or later. But it is equivalent to method 1. The only difference is that You can do it without opening project..
What You've got in Your project's *dsk.
Try to change section [Modules]
Ad 2.
Just Cut Line and copy earlier or later. But it is equivalent to method 1. The only difference is that You can do it without opening project..
What You've got in Your project's *dsk.
Try to change section [Modules]
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You've got two possibilities.
1. In Project/Options/Auto create Forms drag Your data module to the first place.
2. Change order in dpr file