Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Getting Started with Lazarus IDE

You're reading from  Getting Started with Lazarus IDE

Product type Book
Published in Feb 2013
Publisher Packt
ISBN-13 9781782163404
Pages 116 pages
Edition 1st Edition
Languages
Author (1):
Roderick Person Roderick Person
Profile icon Roderick Person

Hello World graphical user interface version


Creating a Hello World console application has shown the basics of writing a program using the Lazarus IDE, but to fully explore the power of Lazarus, a graphical user interface application should be built.

Close the current project and start a new project. Just like what was done when creating a new console application project, but this time in the Create a new project window, choose Application.

A blank form with the title Form1 will appear along with a unit of auto-generated code. The auto-generated code for a GUI is, quite noticeably, sparse as compared to the auto-generated code for a console application. The uses clause contains the most common and necessary units for creating a GUI application. A few units may not be necessary depending on the function of the application. In the case of the Hello World program, the units FileUtil and Graphics are not needed. The type clause contains a declaration of TForm1 deriving from TForm, but there are...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}