Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-04

Import Form from previous project

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

German C. Basisty

My fellow colegs:

Im trying to import to my current project some form developed for an earlier project. So I copyed the .pas and .lfm from the older project folder to the current project folder, then I opened them via lazarus IDE and in the Project men?, choose the option to add the opened file to the current Project. Ok well, the form appears to be correct, and the IDE shows it OK as it was developed, but when I want to open it from my program (via ShowModal) it presents an Acces Violation error and the program fails.

Any idea??

Bests regards,

German

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090422/ab4f1e51/attachment-0001.html

Reply by email

Michael Van Canneyt
to German C. Basisty
German C. Basisty wrote 15 lines
My fellow colegs: Im trying to import to my current project some form developed for an earlier project. So I copyed the .pas and .lfm from the older project folder to the current project folder, then I opened them via lazarus IDE and in the Project men?, choose the option to add the opened file to the current Project. Ok well, the form appears to be correct, and the IDE shows it OK as it was developed, but when I want to open it from my program (via ShowModal) it presents an Acces Violation error and the program fails. Any idea??

Did you add it to the list of forms to be auto-created (in project options) ?

Michael.

Reply by email

German C. Basisty
to Michael Van Canneyt

No, I didn't, and that was the problem. Thank you very much.

Regards,

German

Earlier message 29 lines
-----Mensaje original----- De: [mailto:] En nombre de Michael Van Canneyt Enviado el: mi?rcoles, 22 de abril de 2009 12:35 p.m. Para: General mailing list Asunto: Re: [Lazarus] Import Form from previous project On Wed, 22 Apr 2009, German C. Basisty wrote: > My fellow colegs: > > > > Im trying to import to my current project some form developed for an > earlier project. So I copyed the .pas and .lfm from the older project > folder to the current project folder, then I opened them via lazarus > IDE and in the Project men?, choose the option to add the opened file > to the current Project. Ok well, the form appears to be correct, and > the IDE shows it OK as it was developed, but when I want to open it > from my program (via ShowModal) it presents an Acces Violation error and the program fails. > > > > Any idea?? Did you add it to the list of forms to be auto-created (in project options) ? Michael.

Reply by email