Getting Started with Lazarus IDE
|Also available on:|
- Creating new projects
- Create components for use in Lazarus
- Documenting Lazarus project
Book DetailsLanguage : English
Paperback : 116 pages [ 235mm x 191mm ]
Release Date : February 2013
ISBN : 1782163409
ISBN 13 : 9781782163404
Author(s) : Roderick Person
Topics and Technologies : All Books, Application Development, Open Source
Table of ContentsPreface
Chapter 1: Installing and Configuring the Lazarus Development Environment
Chapter 2: Getting to Know the Lazarus IDE – a Quick Tour
Chapter 3: Creating a Hello World Program
Chapter 4: Converting Delphi
Chapter 5: Creating a Lazarus Component
Chapter 6: The Lazarus Documentation Editor
Chapter 7: Rebuilding Lazarus with a GTK2 Interface
- Chapter 1: Installing and Configuring the Lazarus Development Environment
- Why Lazarus?
- Installing Lazarus in Linux
- Downloading and installing the Lazarus Linux RPM package
- Downloading and installing the Lazarus Linux DEB package
- Lazarus for Ubuntu
- Installing under Windows
- Installing under other OSes such as FreeBSD or Mac OS X
- Installing Lazarus on Mac OS X
- Installing under FreeBSD
- Installing from source
- Configuring the Lazarus development environment
- Chapter 2: Getting to Know the Lazarus IDE – a Quick Tour
- The Object Inspector window
- The Component Tree window
- The Source Editor window
- Main menu, quick icons, and the LCL Palette window
- Project Options
- The Run menu
- The Tools menu
- The LCL Palette
- The Standard tab
- The Additional tab
- The Common Control tab
- The Dialogs tab
- The Data Controls tab
- The SQLdb tab
- Chapter 3: Creating a Hello World Program
- Hello World console application version
- Modifying the code
- Compiling and running
- Hello World graphical user interface version
- Adding components and modifying code
- Compiling and running
- Expanding the Hello World application
- Debugging commands
- Other debugger features
- Chapter 4: Converting Delphi
- Differences between Lazarus and Delphi Components
- Dragging and docking
- TEdit and TCustomEdit
- TCustomTreeView and TTreeView
- Messages and events
- Unit differences
- Conversion methods
- Filenames and extension
- Semantic and syntax differences
- 32-bit and 64-bit considerations
- Resource files
- Using the Convert Delphi Project Wizard
- Converting a Delphi project manually
- Chapter 5: Creating a Lazarus Component
- Creating a new component package
- Adding properties
- Adding events
- Events with more parameters
- Property editors
- Component editors
- Chapter 6: The Lazarus Documentation Editor
- Building the LazDE tool
- Examining existing source documentation
- Documenting your code
- Using FPDoc
- Chapter 7: Rebuilding Lazarus with a GTK2 Interface
- Rebuilding Lazarus interface on Windows
Download the code and support files for this book.
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Sorry, there are currently no downloads available for this title.
What you will learn from this book
- Install Lazarus on different platforms such as Linux or Windows
- Learn the basics of the Lazarus IDE such as the menus, the Object Inspector, and the Source Code Editor
- Create new projects with Lazarus such as console applications and GUI applications
- Debug Lazarus projects
- Convert an existing Delphi project to a Lazarus project
- Create new components for use with Lazarus GUI applications
- Document a Lazarus project using the LazDE tool
- Rebuild Lazarus on the Windows platform using the GTK 2 widget set
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.
This book is written in a simple, easy-to-understand format with lots of screenshots and step-by-step explanations.
Who this book is for
This book is geared toward developers that have a familiarity with Delphi or Free Pascal and would like to start using the open source Lazarus Integrated Development Environment. You should have knowledge of creating a console and GUI applications as well as creating basic components. Example source code and projects are provided to help learn the differences between Delphi and Lazarus projects.