Delphi Programming Tutorial – Unit 5.2: Working with Multiple Forms In a Delphi Project

Delphi Programming Tutorial – Unit 5.2: Working with Multiple Forms In a Delphi Project:

In this tutorial we continue with the application that we started in the previous tutorial. You learn how to add another Form to your project and how to write code for a button to display an instance of the new Form.

For more Delphi Video Tutorials visit www.learndelphi.net You can also visit the following resources for more information:
https://cc.embarcadero.com
www.lazarus-ide.org/
https://www.planet-source-code.com
www.delphi.about.com
www.embarcadero.com
www.edn.embarcadero.com
http://techteachers.co.za/
http://www.studyopportunities.co.za/
https://www.facebook.com/DelphiSchools http://delphibasics.co.uk/ http://stackoverflow.com/

Comments

Shaygah Hendricks says:

Thank you!

Denvan Fynn says:

Very helpful. Thank you and stay blessed

Adrian Venter says:

Hoe gebruik mens die data van die vorige form ?How do i use te data from the previous form
Like the cost on the 1st forn and then on the second form u use the data from form1 to only display the total cost

Juan Olivier says:

Is jy Afrikaans?

Tiger Jakt says:

Thanks.

Hanro50 says:

Just a note…Be careful when adding units that belong to forms you’ve created to the main “uses” heading as it could create loop back errors

Rather create a second “uses” heading under the implementation heading and add it there to avoid the errors I mentioned

Another side note if you get access violations when trying to access your second form, make sure the form you created gets made when you application starts up in your project’s .dpr file.

E.g.
Program Main_p;

Uses
Main_u in ‘Main_u.pas’
Anotherform_u in ‘Another form_u.pas’

Begin
Application.initailize;
Application.mainformontaskbar := True;
Application.createform(Tform, form);
Application.createform(Tform2, form2);
Application.run;
End.

Yadishare Tutorial says:

very clear and nice tutorial sir

Arkadiusz N says:

Perfect prepared tutorial 🙂

Ricardo Fernandez says:

Thanks for the video tutorial!

Chummy Barrel says:

Dankie oom baie gehelp, my boek verduidelik nie soo goed!

Marco Nothnagel says:

Thank you! Keep making more awesome tutorials!!!

Lysergic says:

how do I find the project manager in Lazarus

James Selvator says:

Thank you !!

Camdyn Kellett says:

thanks this really helped

Diego Aquino says:

Thank you. I’m from Brazil.

 Write a comment

*

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!