E-book details

Getting Started with Lazarus IDE. Get to grips with the basics of programming, debugging, creating, and documenting projects with the Lazarus IDE

Getting Started with Lazarus IDE. Get to grips with the basics of programming, debugging, creating, and documenting projects with the Lazarus IDE

Roderick Person

Ebook
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.
  • Getting Started with the Lazarus IDE
    • Table of Contents
    • Getting Started with the Lazarus IDE
    • Credits
    • About the Author
    • About the Reviewer
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 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
    • 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
    • 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
    • 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
    • 5. Creating a Lazarus Component
      • Creating a new component package
      • Adding properties
        • Adding events
      • Events with more parameters
      • Property editors
      • Component editors
      • Summary
    • 6. The Lazarus Documentation Editor
      • Building the LazDE tool
      • Examining existing source documentation
      • Documenting your code
      • Using FPDoc
      • Summary
    • 7. Rebuilding Lazarus with a GTK2 Interface
      • Rebuilding Lazarus interface on Windows
      • Summary
    • Index
  • Title: Getting Started with Lazarus IDE. Get to grips with the basics of programming, debugging, creating, and documenting projects with the Lazarus IDE
  • Author: Roderick Person
  • Original title: Getting Started with Lazarus IDE. Get to grips with the basics of programming, debugging, creating, and documenting projects with the Lazarus IDE
  • ISBN: 9781782163411, 9781782163411
  • Date of issue: 2013-02-22
  • Format: Ebook
  • Item ID: e_3cai
  • Publisher: Packt Publishing