Getting Started with Lazarus IDE

Getting Started with Lazarus IDE
eBook: $14.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $39.98    Print cover: $24.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Creating new projects
  • Create components for use in Lazarus
  • Documenting Lazarus project

Book Details

Language : 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 Contents

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
      • Requirements
      • 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
    • Summary
    • 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
      • Summary
      • 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
        • Debugging
        • Expanding the Hello World application
        • Debugging commands
        • Other debugger features
        • Deploying
        • Summary
        • Chapter 4: Converting Delphi
          • Differences between Lazarus and Delphi Components
            • Fonts
            • 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
          • Summary

                Roderick Person

                Roderick Person has a varied background in the corporate IT field. For the last 14 years he has been a programmer for one of the top ranked health systems in the United States. He is experienced with developing applications in Delphi, Free Pascal, Python, SQL, and other languages. He is also an advocate of leveraging open source applications in corporate environments.
                Sorry, we don't have any reviews for this title yet.

                Code Downloads

                Download the code and support files for this book.

                Submit Errata

                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.

                Frequently bought together

                Getting Started with Lazarus IDE +    PHP Web 2.0 Mashup Projects: Practical PHP Mashups with Google Maps, Flickr, Amazon, YouTube, MSN Search, Yahoo! =
                50% Off
                the second eBook
                Price for both: £12.75

                Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                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


                In Detail

                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.

                Code Download and Errata
                Packt Anytime, Anywhere
                Register Books
                Print Upgrades
                eBook Downloads
                Video Support
                Contact Us
                Awards Voting Nominations Previous Winners
                Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software