Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Getting Started with Lazarus IDE
  • Table Of Contents Toc
Getting Started with Lazarus IDE

Getting Started with Lazarus IDE

By : Roderick Person
2.9 (17)
close
close
Getting Started with Lazarus IDE

Getting Started with Lazarus IDE

2.9 (17)
By: Roderick Person

Overview of this book

A good integrated development environment can be the key to creating and delivering software on time and budget. Having a programming language and a development environment that runs on multiple platforms greatly eases and lessens the time taken on creating cross-platform applications. An IDE that is compatible with a legacy code base allows developers to leverage existing libraries in future applications."Getting Started with Lazarus" is a practical, hands-on guide that provides you with a number of clear step-by-step exercises, which will help you take advantage of the power of the Lazarus IDE and Free Pascal to develop software that can be created for cross-platform use."Getting started with Lazarus" discusses developing software with the open source cross platform integrated development environment and the Free Pascal language. We'll learn how to install Lazarus on various platforms such as Linux and Windows, as well as how to create new projects and convert existing Delphi projects to Lazarus projects by learning the differences between Delphi's Pascal syntax and Free Pascal's Object Pascal using a real world example project. We'll learn how to create custom components for use in Lazarus. We'll also learn the basics of documenting a Lazarus project using the Lazarus Documentation Editor. Finally we will learn that the IDE can be rebuilt using a different widget type, specifically GTK 2. Teach yourself the basics of programming with Lazarus and the open source IDE for the Free Pascal language.
Table of Contents (14 chapters)
close
close
Getting Started with the Lazarus IDE
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1
Index

Documenting your code


Now that we have built LazDE and looked at a basic overview of the interface, let's document the code that we have created. Click on the File menu and select New. You will be presented with a dialog as shown in the following screenshot:

Create the new documentation package as follows:

  1. Leave Package name as MyPackage.

  2. Click on the icon after the Input file editbox and browse to the directory that includes the file DRU.pas, which we used previously in Chapter 4, Converting Delphi.

  3. Click on the icon next to the Output file editbox, and select a directory to write to and call the output file MyDoc.xml.

The main application screen will appear and we can now begin documenting our unit. Let's do that by documenting the tBtnRunClick event as follows:

  1. In the Document Structure window, expand all nodes until you reach the last node, titled DRU.

  2. In the Elements for selected node treeview, scroll down and select the tBtnRunClick node.

  3. In the Short description field, enter a brief description...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Getting Started with Lazarus IDE
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon