Difference between revisions of "Lazarus Documentation"

From Free Pascal wiki
Jump to navigationJump to search
 
(270 intermediate revisions by 73 users not shown)
Line 1: Line 1:
 
{{Lazarus Documentation}}
 
{{Lazarus Documentation}}
 +
[[Category:Troubleshooting]]
 +
==Lazarus and Pascal Tutorials==
  
==Lazarus and Pascal Tutorials==
+
*[[Basic Pascal Tutorial]]
 +
*[[Free Pascal videos|Free Pascal video tutorials]]
 +
*[[Lazarus_videos|Lazarus video tutorials]]
 +
*[[:Category:Tutorials|All tutorials on the wiki]] - Collection of tutorials with difficulty ranging from beginner to expert level
 +
*There are also other tutorials not hosted here in [[Lazarus Documentation#Lazarus related blogs, websites, videos, magazines and books|Lazarus related blogs, websites, videos, magazines and books]].
 +
*[http://www.schoolfreeware.com/Free_Pascal_Tutorials.html SchoolFreeware's Free Pascal Tutorials] - From command line interface (CLI) to graphical user interface (GUI) using Lazarus IDE
 +
 
 +
(See also "Websites", further down this page)
 +
 
 +
=== Lazarus/FPC (Free Pascal)===
 +
 
 +
*[[Creating bindings for C libraries]] - How to convert C header files (.h) to pascal units
 +
*[[Console Mode Pascal]] - Using the Lazarus IDE for writing Pascal programs for text-mode operation.
 +
*[[Daemons and Services]] - How to write windows services and/or linux daemons.
 +
*[[Databases]] - An introduction to using databases in Lazarus and links to other database articles.
 +
*[[Developing with Graphics]] - Examples on 2D & 3D graphic programming.
 +
*[[Form Tutorial]] - A tutorial for beginners on how to deal with forms.
 +
*[[Pascal_for_Visual_Basic_users|Free Pascal for Visual Basic users]]
 +
*[[Lazarus Database Tutorial]] - A tutorial which has some more background information on how to connect to popular databases, for example MySQL, Firebird, Postgres, etc.
 +
*Lazarus integrated .chm help file system for manual copying into .../chm subdirectory, download [http://www.stack.nl/~marcov/doc-chm.zip here]. Both for Lazarus and '''fp''' text mode IDE.
 +
*[[Lazarus IDE Tools]] - An intermediate level tutorial about code completion and other IDE tools.
 +
*[[Lazarus Inline Assembler]] - A getting started guide.
 +
*[[Lazarus/FPC Libraries]] - How to create dynamic libraries (.so, .dll, .dylib) and how to use them
 +
*[[Lazarus Tutorial]] - A tutorial for beginners and a detailed description of the Lazarus IDE.
 +
*[[Multimedia Programming]] - How to play videos and sounds.
 +
*[[Office Automation]] - How to interact with office software and create spreadsheets, text documents, presentations, etc.
 +
*[[OpenGL Tutorial]] - How to use OpenGL in Lazarus applications.
 
*[[Overview of Free Pascal and Lazarus]] - A brief discussion of kinds of things you can develop with these general-purpose tools.
 
*[[Overview of Free Pascal and Lazarus]] - A brief discussion of kinds of things you can develop with these general-purpose tools.
*[[Lazarus Tutorial]] - A tutorial for beginners and a detailed description of the Lazarus IDE.
+
*[[spelling]] - How to use the Hunspell library in a Lazarus App.
*[[Lazarus IDE Tools]] - An intermediate level tutorial about code completion and other IDE tools.
+
*[[SQLdb Tutorial0]] - Set up instructions for sample data for the following database tutorials
*[[Lazarus Database Tutorial]] - An introduction to using Lazarus with databases.
+
*[[SQLdb Tutorial1]] - A tutorial that teaches you to get up and running with Lazarus visual components and databases
*[[Developing with Graphics]] - Some basic examples on graphic programming.
+
*[[SQLdb Tutorial2]] - Second part of the DB tutorial series, showing editing, inserting etc.
*[[Pascal Tutorial]] - [http://www.taoyue.com/ Tao Yue's] [http://www.taoyue.com/tutorials/pascal/ Pascal Tutorial] (reposted with permission).
+
*[[SQLdb Tutorial3]] - Third part of the DB tutorial series, showing how to program for multiple databases and use a login form
 +
*[[SQLdb Tutorial4]] - Fourth part of the DB tutorial series, showing how to use data modules
 +
*[[SqlDBHowto]] - Explanations and code for various aspects of using SQLdb for reading and manipulating data in relational databases
 +
*[[Translations / i18n / localizations for programs]] - How to provide localized versions of your programs and packages
 +
*[[VirtualTreeview Example for Lazarus]] - Using VirtualTreeview on Lazarus.
 +
*[[Working With TSQLQuery]] - An in depth description of using TSQLQuery, having details about using parameters in queries and non-SELECT-queries
 +
 
 +
=== Hardware, Threads and Processes ===
 +
*[[Using the printer]] - Printer support in Lazarus
 +
*[[Hardware Access]] - How to access hardware devices, such as ISA cards, PCI cards, parallel and serial ports and USB devices.
 +
*[[Multithreaded Application Tutorial]] - How to write multithreaded applications using Free Pascal and Lazarus.
 +
*[[Executing External Programs]] - A short tutorial showing how to run external programs from inside your program.
 +
*[[LazDeviceAPIs]] - A LCL unit which offers an interface to various hardware devices such as the Accelerometer, SMS sending, GPS positioning, etc.
 +
 
 +
=== Files===
 +
*[[File Handling In Pascal]] - Basic explanations on the use of files, for beginners in pascal.
 
*[[TXMLPropStorage]] - Using TXMLPropStorage to save user preferences.
 
*[[TXMLPropStorage]] - Using TXMLPropStorage to save user preferences.
*[[Executing External Programs]] - A short tutorial showing how to run external programs from inside your program.
+
*[[XML Tutorial]] - Writing and reading XML files.
*[[Hardware Access]] - How to access hardware devices, such as ISA cards, PCI cards, parallel and serial ports and USB devices.
+
*[[Using INI Files]] - How to work with INI files in pascal.
*[[Networking]] - Tutorials about TCP/IP protocol, creating secure network programs, WebServices, etc.
+
 
*[[XML Tutorial]] - Writing and reading XML files
+
=== Web ===
*[[Multithreaded Application Tutorial]] - How to write multithreaded applications using Free Pascal and Lazarus
+
*[[Portal:Web_Development|Web Development Portal]] - How to develop web applications with Lazarus and Free Pascal.
*[[Streaming components]] - How to write components to streams and read/create components from streams
+
**[[Webbrowser]] - Webbrowser controls
*[[OpenGL Tutorial]] - How to use GLUT in Lazarus
+
**[[Networking|Web Programming and Networking]] - Tutorials about TCP/IP protocol, WebServices and links to web development articles.
*[[Creating bindings for C libraries]] - How to convert C header files (.h) to pascal units
+
 
*[[Lazarus/FPC Libraries]] - How to create dynamic libraries (.so, .dll, .dynlib) and how to use them
+
===Platforms===
*[[Translations / i18n / localizations for programs]] - How to provide localized versions of your programs and packages
+
*[[Portal:Android|Android Portal]] - Programming tips and reference information on Android.
 +
**[[Android Programming]] - For Android smartphones and tablets.
 +
*[[Portal:Embedded|Embedded]] - An overview of development for Embedded platforms with/without an operating system
 +
** volunteers needed :-)
 +
*[[Portal:FreeBSD|FreeBSD Portal]] - An overview of development for FreeBSD with Lazarus and Free Pascal.
 +
**[[FreeBSD Programming Tips]] - Lazarus installation, useful tools, Unix commands, and more...
 +
*[[Portal:iOS|iOS Portal]] - Programming tips and reference information for iOS.
 +
**[[iPhone/iPod development]] - About using Objective Pascal to develop iOS applications.
 +
*[[Portal:Linux|Linux Portal]] - Programming tips and reference information for desktop Linux.
 +
**[[Lazarus on Raspberry Pi]] - How to install and use Lazarus on the Raspberry Pi.
 +
*[[Portal:Mac|Mac Portal]] - Programming tips and reference information for macOS.
 +
**[[macOS Programming Tips]] - Lazarus installation, useful tools, Unix commands, and more...  
 +
*[[Portal:WinCE|WinCE Portal]] - Programming tips and reference information for WinCE
 +
**[[WinCE Programming Tips]] - Using the telephone API, sending SMSes, and more...
 +
*[[Portal:Windows|Windows Portal]] - Programming tips and reference information for desktop Windows and Windows mobile.
 +
**[[Windows Programming Tips]] - Programming information for desktop Windows - including server
  
 
==The Lazarus User Guides==
 
==The Lazarus User Guides==
 
*[[Lazarus Faq]] - General information about Lazarus and specifics for Linux and Windows users.
 
*[[Lazarus Faq]] - General information about Lazarus and specifics for Linux and Windows users.
 
*[[Lazarus DB Faq]] - FAQ on database issues in Lazarus.
 
*[[Lazarus DB Faq]] - FAQ on database issues in Lazarus.
*[[Databases in Lazarus]] - An overview of using databases in Lazarus
+
*[[Feature Ideas|Wishlist/Wanted Features]] - Features that you would like to see in Lazarus
*[[Code Examples]] - Example working code for Lazarus.
 
*[[Feature_Ideas|Wishlist/Wanted Features]] - Features that you would like to see in Lazarus
 
 
*[[How do I create a bug report]] - You think you found a bug in Lazarus, how can you report it?
 
*[[How do I create a bug report]] - You think you found a bug in Lazarus, how can you report it?
  
 
===Installation===  
 
===Installation===  
*[[Installing Lazarus]] - An installation guide
+
*[[:category:Install|Installation]] - all things "install" categorized
*[[Getting Lazarus]] - Instructions on how to download a released or SVN version of Lazarus
+
*[[Getting Lazarus]] - Brief instructions on how to download and install a released or SVN version of Lazarus
*[[OS X Programming Tips]] - Lazarus installation, useful tools, Unix commands, and more...
+
*[[Installing Lazarus]] - A detailed installation guide
 +
*[[Multiple Lazarus]] - How to install several lazarus versions on one machine
  
 
===IDE===
 
===IDE===
 +
Integrated Development Environment
 
*[[IDE tricks]] - Tips, tricks and hidden features
 
*[[IDE tricks]] - Tips, tricks and hidden features
 
*[[Lazarus IDE]] - The IDE windows
 
*[[Lazarus IDE]] - The IDE windows
 +
*[[Lazarus IDE Shortcuts]] - The key mapping and shortcuts.
 
*[[Lazarus Packages]] - A guide for creating a package under Lazarus
 
*[[Lazarus Packages]] - A guide for creating a package under Lazarus
 
*[[Install Packages]] - A small guide to install packages
 
*[[Install Packages]] - A small guide to install packages
 
*[[Extending the IDE]] - How to add functionality to the Lazarus IDE
 
*[[Extending the IDE]] - How to add functionality to the Lazarus IDE
*[[Adding Kylix Help]] - How to use the Borland Help files within the IDE editor.
+
*[[Installing Help in the IDE]] - How to install help for the RTL, FCL and LCL in the IDE, as well as installing the Kylix help files in it and also adding help for user packages.
 +
*[[Using Lazarus for other computer languages]] - How to use the IDE for C, Java, etc.
 +
*[[IDE Development]] - Various pages about current development of the IDE.
 +
*[[Lazarus for education]] - How to setup the IDE for courses and beginners.
 +
*[[Lazarus Hacks]] - Customizations and hacks that can adapt the IDE and LCL to specific needs.
 +
*[[startlazarus]] - How the IDE is started.
 +
*[[Unit not found - How to find units]] - Explains how the compiler and the IDE searches for units and how this can fail.
  
 
===LCL===
 
===LCL===
 +
The Lazarus component library (LCL) is very similar to Delphi's VCL (Visual Component Library). Most Lazarus units, classes and properties have the same name and functionality as their equivalents in Delphi. This makes porting Delphi applications to Lazarus relatively easy.
 
*[[doc:lcl/|LCL documentation]] - On line help for LCL (work in progress).
 
*[[doc:lcl/|LCL documentation]] - On line help for LCL (work in progress).
 +
*[[LazActiveX]] - ActiveX/LazActiveX documentation
 +
*[[TAChart documentation]] - Standard component for drawing graphs and charts.
 +
*[[LCL Components]] - Tutorials about the standard LCL components such as TMainMenu, TButton, TComboBox, TTimer, etc. Complements and links to the reference docs.
 +
*[[The LCL in various platforms]] - A brief discussion about LCL features which behave differently in different platforms.
 +
*[[Autosize / Layout]] - How to design forms that work on all platforms.
 
*[[Main Loop Hooks]] - How to handle multiple event sources
 
*[[Main Loop Hooks]] - How to handle multiple event sources
 
*[[Asynchronous Calls]] - How to queue methods for later execution
 
*[[Asynchronous Calls]] - How to queue methods for later execution
Line 48: Line 119:
 
*[[Accessing the Interfaces directly]] - Example how to access the LCL widgetsets
 
*[[Accessing the Interfaces directly]] - Example how to access the LCL widgetsets
 
*[[Add Help to Your Application]] - How to create a Online Help for your application
 
*[[Add Help to Your Application]] - How to create a Online Help for your application
*[[Anchor Sides]] - Description of Anchor Sides Feature
+
*[[Colors]] - Description of system colors like clDefault, clWindow and the fpImage FPColor
 
*[[LCL Tips]] - Tips and tricks
 
*[[LCL Tips]] - Tips and tricks
 
*[[LCL Defines]] - Choosing the right options to recompile LCL
 
*[[LCL Defines]] - Choosing the right options to recompile LCL
 +
*[[Components_and_Code_examples|LCL Code Examples]] - Example working code for Lazarus.
 +
*[[Lazarus Custom Drawn Controls]] - A set of custom drawn controls in Lazarus
 +
*[[LCL Accessibility]] - Documentation about using making LCL applications accessible
  
 
===Developing===
 
===Developing===
 
*[[The Power of Proper Planning and Practices]] - common-sense programming best practices for the Free Pascal and Lazarus developer
 
*[[The Power of Proper Planning and Practices]] - common-sense programming best practices for the Free Pascal and Lazarus developer
 
*[[Multiplatform Programming Guide]] - How to develop cross-platform applications and how to port from one platform to another
 
*[[Multiplatform Programming Guide]] - How to develop cross-platform applications and how to port from one platform to another
*[[Using Pascal Libraries with .NET and Mono]] - yes, you can use your Free Pascal code with .NET and Mono
+
*[[Introduction to platform-sensitive development]] - The next step in cross-platform development.
 
*[[Deploying Your Application]] - How to create an installer for your application
 
*[[Deploying Your Application]] - How to create an installer for your application
*[[Cross compiling]] - Creating executables of one platform, on another.
+
*[[Cross compiling]] - Creating executables for one platform, on another
*[[Remote Debugging]] - How to debug your Lazarus application from another machine.
+
*[[GDB Debugger Tips]] - Known Issues / Tips for debugging Pascal using GDB
 +
*[[Remote Debugging]] - How to debug your Lazarus application from another machine
 
*[[Application Icon]] - Setting the application icon
 
*[[Application Icon]] - Setting the application icon
 +
*[[Using Pascal Libraries with .NET and Mono]] - yes, you can use your Pascal code with .NET and Mono
 +
*[[Pascal and PHP]] - the Pascal connection to PHP
 +
*[[Developing Python Modules with Pascal]] - extending Python with Pascal
 +
*[[Developing Web Apps with Pascal]] - yes, you can write Rich Internet Applications (RIA) with Pascal
 +
*[[Pascal and GIS]] - using Pascal for GIS and mapping
 +
*[[Smartphone Development]] - About using FPC and Lazarus to target various smartphones
 +
*[[Lazarus Components Directory]] - A description of extra packages which are shipped with Lazarus, such as support for printers, fpWeb, daemons, etc
  
===Tools===
+
=== Tools ===
 
*[[Lazarus Documentation Editor]] - Using "lazde" to create documentation
 
*[[Lazarus Documentation Editor]] - Using "lazde" to create documentation
*[[LazDoc]] - An integrated editor for documentation files
+
*[[FPDoc Editor]] - An integrated editor for documentation files
 
*[[FPDoc Updater]] - A GUI tool for updating FPDoc files
 
*[[FPDoc Updater]] - A GUI tool for updating FPDoc files
 
*[[lazbuild]] - Compiling projects and packages without the IDE
 
*[[lazbuild]] - Compiling projects and packages without the IDE
 +
*[[LazSVNPkg]] - Lazarus Subversion IDE Plugin
 +
*[[InstantFPC]] - run pascal programs as normal unix scripts
  
 
===Coming from Delphi===
 
===Coming from Delphi===
Line 71: Line 155:
 
*[[Lazarus For Delphi Users]] - For Delphi users who are getting started with Lazarus
 
*[[Lazarus For Delphi Users]] - For Delphi users who are getting started with Lazarus
 
*[[Code Conversion Guide]] - How to convert existing code and components from Delphi and Kylix
 
*[[Code Conversion Guide]] - How to convert existing code and components from Delphi and Kylix
 +
*[[Delphi Converter in Lazarus]] - Convert a Delphi unit, project or package almost automatically
  
 
==The Lazarus Developer Guides==
 
==The Lazarus Developer Guides==
 +
*[[Developer pages]] - A list of lazarus developers
 +
*[[Lazarus Development Process]] - Roadmaps, ToDos, current development and what needs to be done for Lazarus 1.0
 
*[[How To Help Developing Lazarus]] - A guide to help newbies start improving Lazarus
 
*[[How To Help Developing Lazarus]] - A guide to help newbies start improving Lazarus
 
*[[Version Numbering]] -  Explanation of the different version numbers of Lazarus  
 
*[[Version Numbering]] -  Explanation of the different version numbers of Lazarus  
Line 78: Line 165:
 
*[[Creating a Backtrace with GDB]] - A guide to making a backtrace to help you debug a program
 
*[[Creating a Backtrace with GDB]] - A guide to making a backtrace to help you debug a program
 
*[[Nomenclature]] - Guide to choose a name for a new method or property
 
*[[Nomenclature]] - Guide to choose a name for a new method or property
*[[DesignGuidelines|Design Guide Lines]] - A guide about how to procede when changing Lazarus Source Code.
+
*[[DesignGuidelines|Design Guide Lines]] - A guide about how to proceed when changing Lazarus Source Code.
 
*[[GUI design]] - Notes on guidelines when designing the lazarus GUI
 
*[[GUI design]] - Notes on guidelines when designing the lazarus GUI
 
*[[Roadmap]] - An idea of the current status of the various parts of Lazarus
 
*[[Roadmap]] - An idea of the current status of the various parts of Lazarus
*[[Road To 1.0]] - What needs to be done for Lazarus 1.0
 
*[[Detailed Lazarus 0.9.24 todo]] - A check list for the Lazarus 0.9.24 release
 
 
*[[Moderating the bug tracker]] - Guidelines for lazarus developers and moderators for using the [http://www.freepascal.org/mantis/ bug tracker].
 
*[[Moderating the bug tracker]] - Guidelines for lazarus developers and moderators for using the [http://www.freepascal.org/mantis/ bug tracker].
 
*[[Codetools]] - How the codetools are integrated into the IDE
 
*[[Codetools]] - How the codetools are integrated into the IDE
 
*[[Creating IDE Help]] - How to extend the IDE documentation
 
*[[Creating IDE Help]] - How to extend the IDE documentation
*[[Unit not found - How to find units]] - How to setup the IDE and source files
+
*[[How_To_Make_Lazarus_Docs]] - How to make help for the IDE  
 +
*[[Distributing Lazarus - Installers]] - Hints and notes for packagers who want to write an installer for Lazarus
 
*[[Bounties]] - Need a particular new feature soon? Set a price here.  
 
*[[Bounties]] - Need a particular new feature soon? Set a price here.  
  
===LCL - Lazarus component library===
+
===[[LCL]] - Lazarus component library===
 +
The following articles go deeper into developing for/with the LCL. See also the user LCL section above.
 +
*[[How To Write Lazarus Component]] - A helpful guide to creating your first LCL component.
 
*[[LCL Messages]] - Guide related to LCL Messages
 
*[[LCL Messages]] - Guide related to LCL Messages
*[[LCL Internals]] - Some info about the inner workings of the LCL
+
*[[LCL Internals]] - Implementation details and how to create a new widgetset
 
*[[LCL Key Handling]] - Help! A key press, what now?
 
*[[LCL Key Handling]] - Help! A key press, what now?
 
*[[LCL Internals - Resizing, Moving]] - How the LCL communicates with the LCL interface to resize, move controls
 
*[[LCL Internals - Resizing, Moving]] - How the LCL communicates with the LCL interface to resize, move controls
 +
*[[LCL Drag Drop]] - Managing dragging, dropping and docking
 
*[[LCL Unicode Support]] - Road to Unicode enabled Lazarus
 
*[[LCL Unicode Support]] - Road to Unicode enabled Lazarus
 
*[[LCL Documentation Roadmap]] - Which units have to be documented
 
*[[LCL Documentation Roadmap]] - Which units have to be documented
 +
*[[LCL Bindings]] - Bindings to use LCL on other languages
  
 
===Interfaces===
 
===Interfaces===
* [[Lazarus known issues (things that will never be fixed)]] - A list of interface compatibility issues
+
{{Interfaces}}
  
*[[GTK2 Interface]] - The gtk2 for Unixes, Mac OS X, Windows
+
===Translating/Internationalization/Localization===
*[[Carbon Interface]] - The Carbon Interface for Mac OS X
+
These articles cover how to set up the IDE, LCL and your own programs with translated/localized strings, and how to internationalize them (e.g. deal with date formats, decimal separators etc) :
*[[Qt Interface]] - The Qt 4 Interface for Unixes, Mac OS X and linux-based PDAs
+
* [[Translations_/_i18n_/_localizations_for_programs|Translations / i18n / localizations for programs]] How to translate your application and how to load translated resource strings of projects and packages in your application.
*[[Windows CE Interface]] - For Pocket PC and Smartphones
+
* [[Step-by-step_instructions_for_creating_multi-language_applications]]: Tutorial demonstrating how to convert one of the Lazarus example projects to a multi-language application.
*[[fpGUI Interface]] - A widgetset completely written in Object Pascal
+
* [[Getting translation strings right]] A few notes for programmers on how to create and use translatable strings in your application. Quickly discusses general things about creating strings, offers a few hints on implementation issues and points out some things to consider when using English as base language in particular.
 
 
===Translations===
 
* [[Getting translation strings right]] A few notes for programmers on how to create and use translateable strings in your application. Quickly discusses general things about creating strings, offers a few hints on implementation issues and points out some things to consider when using English as base language in particular.
 
 
* '''Localization Notes:'''
 
* '''Localization Notes:'''
 
:* [[German localization notes|German]] - Notes and guidelines for translating the Lazarus IDE to German, including a small dictionary to look up often used translations.
 
:* [[German localization notes|German]] - Notes and guidelines for translating the Lazarus IDE to German, including a small dictionary to look up often used translations.
 
:* [[Portuguese-Brazilian Localization Notes|Portuguese-Brazilian]] - Small dictionary containing common translations of terms used in the Lazarus IDE for the Portuguese-Brazilian translation.
 
:* [[Portuguese-Brazilian Localization Notes|Portuguese-Brazilian]] - Small dictionary containing common translations of terms used in the Lazarus IDE for the Portuguese-Brazilian translation.
:* [[Russian localization notes|Russian]] - Notes and guidelines for translating the Lazarus IDE to Russian.
+
:* [[Russian localization notes|Russian]] - Notes and guidelines for translating the Lazarus IDE into Russian.
 
<!-- *[[TO-DO]] Remaining Tasks -->
 
<!-- *[[TO-DO]] Remaining Tasks -->
 
* [[Help:Add language bar | Add language bar]] explains how you can add a list of translations to the top of a wiki page.
 
* [[Help:Add language bar | Add language bar]] explains how you can add a list of translations to the top of a wiki page.
 +
*[[Everything_else_about_translations#Translating_the_IDE|Translating the IDE]]
  
 
==Additional Components Documentation==
 
==Additional Components Documentation==
 +
*[[Project Templates]] - the package projtemplates
 
*[[Pascal Script]] and [[Pascal Script Examples]] - How to use the pascal script components in Lazarus
 
*[[Pascal Script]] and [[Pascal Script Examples]] - How to use the pascal script components in Lazarus
 
*[[OpenGL]] - How to use OpenGL in Lazarus
 
*[[OpenGL]] - How to use OpenGL in Lazarus
*[[KOL-CE]] - Free Pascal/Lazarus port of KOL&MCK library. How to create very compact applications for Win32/WinCE in Lazarus.
+
*[[KOL-CE]] - Free Pascal/Lazarus port of KOL&amp;MCK library. How to create very compact applications for Win32/WinCE in Lazarus.
 +
*[[How To Write Lazarus Component]] for more component info
 +
*[[Project Groups]] - about package projectgroupslaz.lpk
 +
*[[Package Tabs]] - about package packagetabs.lpk
 +
*[[Favorites]] - about package favorites.lpk
  
 
==Free Pascal Compiler Documentation==
 
==Free Pascal Compiler Documentation==
In addition to [http://lazarus-ccr.sourceforge.net/fpcdoc/ this site], the latest version of the documentation can also be found online and in a variety of downloadable formats on the main [http://www.freepascal.org/docs.html Free Pascal Compiler site].
+
In addition to [http://lazarus-ccr.sourceforge.net/fpcdoc/ this site], the latest version of the documentation can also be found on-line and in a variety of downloadable formats on the main [http://www.freepascal.org/docs.var Free Pascal Compiler site].
There is now also a WiKi site for FreePascal [http://www.freepascal.org/wiki/index.php/Main_Page] very similar in style to this one, to allow developers to submit documentation in addition to the official FPC documents below.
 
  
 
*[http://lazarus-ccr.sourceforge.net/fpcdoc/user/user.html User's guide]
 
*[http://lazarus-ccr.sourceforge.net/fpcdoc/user/user.html User's guide]
Line 132: Line 224:
 
*[[Build messages]]
 
*[[Build messages]]
  
==Lazarus related blogs and websites==
+
==Special Topics==
'''Blogs'''
+
*[[Databases]]
*[[Adventures of a Newbie]] - A blog of a newbie getting started with some tutorial information in a running log.
+
*[[Portal:SciTech|SciTech Portal]] - Lazarus and Free Pascal for Science, medicine and technology.
*[http://lazarusroad.blogspot.com/ On the road with Lazarus/Freepascal] - A blog dedicated to register my experiences while programming with Lazarus and Freepascal (by Luiz Américo)
+
 
*[http://port2laz.blogspot.com/ Porting to Lazarus] - This blog describes the porting of a medium-sized application (~100 kloc) from D7 with CLX to Lazarus (by Alexsander da Rosa)
+
==Lazarus related blogs, websites, videos, magazines and books==
*[http://living-lazarus.blogspot.com/ Living Lazarus] - One mans exploration into the possibilities of an open source RAD (by [[User:Wibblytim|Wibblytim]]).
+
 
*[http://beeography.wordpress.com/tag/object-pascal/ Bee.ography] just (another) Bee’s buzz!
+
===Blogs===
 +
*[http://lazarus-dev.blogspot.com/ Lazarus Development] - (2015) A blog of Lazarus developers regards development process.
 +
*[[Adventures of a Newbie]] - (2006) A blog of a newbie getting started with some tutorial information in a running log.
 +
*[http://lazarusroad.blogspot.com/ On the road with Lazarus/Free Pascal] - (October 2016) A blog dedicated to register my experiences while programming with Lazarus and Free Pascal (by Luiz Américo)
 +
*[http://port2laz.blogspot.com/ Porting to Lazarus] - (2014) This blog describes the porting of a medium-sized application (~100 kloc) from D7 with CLX to Lazarus (by Alexsander da Rosa)
 +
*[http://living-lazarus.blogspot.com/ Living Lazarus] - (2013) One man's exploration into the possibilities of an open source RAD (by [[User:Wibblytim|Wibblytim]]).
 +
*[http://beeography.wordpress.com/tag/object-pascal/ Bee.ography] (2011) just (another) Bee’s buzz!
 +
*[http://donaldshimoda.blogspot.com/ Parallel Pascal Worlds] (September 2016) Donald Shimoda.
 +
*[http://devblog.brahmancreations.com/content/observations-on-freepascal-and-lazarus-development devblog.brahmancreations.com] (2010) Observations on Free Pascal and Lazarus Development
 +
*[http://www.cnoc.nl/en/blog/ CNOC TechBlog / Lazarussupport] - (2016?) A blog about Lazarus and Free Pascal in general - Joost van der Sluis
 +
 
 +
===Websites===
 +
 
 +
These websites cover Free Pascal, Lazarus or both - or they cover Delphi concepts that are applicable to Lazarus/FPC:
 +
*[http://pp4s.co.uk PP4S] Lazarus (and Delphi) getting started information, tutorials. Useful for beginners.
 +
*[https://web.archive.org/web/20161229032639/http://swinbrain.ict.swin.edu.au/wiki/Pascal Pascal - SwinBrain] (Internet Archive; original link dead) - Unique free pascal tutorial and documentation at Swinburne University
 +
*[http://sheepdogguides.com/lut/ Lazarus Programming] A series of tutorials to get beginners started. Limited "how to install" material. From SheepdogSoftware.co.uk
 +
*[[Basic Pascal Tutorial]] Updated version of [http://www.taoyue.com/ Tao Yue's] [http://www.taoyue.com/tutorials/pascal/ Pascal Tutorial] (reposted with permission).
 +
*[http://sheepdogguides.com/tut.htm Delphi Tutorials Arranged in Groups, by Difficulty] An accumulation of material from many years. Topics range from "Hello World" to using Dallas 1-Wire to TCP/IP. The ones I've tried port to Lazarus without hassle.
 +
 
 +
Chinese:
 +
*[http://www.fpccn.com/ Community for Free Pascal and Lazarus in Chinese.] - Community, forums, source code and demos in Chinese.
 +
 
 +
French:
 +
*[http://pascal.developpez.com/ Pascal - Club d'entraide des développeurs francophones] - Francophone community about Pascal.
 +
 
 +
Spanish:
 +
*[http://aprendepascal.wikidot.com Programando en Pascal] - Spanish tutorial focused on FPC/Lazarus, hosted in Wikidot.
 +
 
 +
===Videos===
 +
* See [[Lazarus videos|Lazarus videos]]
 +
 
 +
===Books===
 +
* See [[Pascal and Lazarus Books and Magazines]]
 +
 
 +
==Conferences on Lazarus and Free Pascal==
 +
* See [[Conferences and Events]]
 +
 
 +
== How to cite in scientific publications ==
 +
* See [[Academic citation]]
 +
 
 +
==Missing documentation?==
 +
 
 +
If you miss documentation for Lazarus or Free Pascal, you can always write it yourself and submit it to the Lazarus/FPC bugtracker for inclusion.
 +
Have a look at:
 +
*[[FPDoc Editor]] Built-in documentation editor in Lazarus. Page explains how to get fpdoc help sources and write your own help.
 +
 
 +
==See also==
 +
 
 +
* [[FPC|FPC Wiki Documentation]]
  
'''Websites'''
+
[[Category:Main]]
*[[swainbrain pascal wiki]] - unique free pascal tutorials and info [http://mercury.it.swin.edu.au/swinbrain/index.php/Pascal#Pascal_Development_Tools swainbrain]
+
[[Category:Lazarus]]

Latest revision as of 20:27, 31 May 2022

العربية (ar) Deutsch (de) English (en) español (es) suomi (fi) français (fr) magyar (hu) Bahasa Indonesia (id) italiano (it) 日本語 (ja) 한국어 (ko) Nederlands (nl) português (pt) русский (ru) slovenčina (sk) Türkçe (tr) 中文(中国大陆)‎ (zh_CN) 中文(台灣)‎ (zh_TW)

Lazarus and Pascal Tutorials

(See also "Websites", further down this page)

Lazarus/FPC (Free Pascal)

Hardware, Threads and Processes

  • Using the printer - Printer support in Lazarus
  • Hardware Access - How to access hardware devices, such as ISA cards, PCI cards, parallel and serial ports and USB devices.
  • Multithreaded Application Tutorial - How to write multithreaded applications using Free Pascal and Lazarus.
  • Executing External Programs - A short tutorial showing how to run external programs from inside your program.
  • LazDeviceAPIs - A LCL unit which offers an interface to various hardware devices such as the Accelerometer, SMS sending, GPS positioning, etc.

Files

Web

Platforms

The Lazarus User Guides

Installation

IDE

Integrated Development Environment

LCL

The Lazarus component library (LCL) is very similar to Delphi's VCL (Visual Component Library). Most Lazarus units, classes and properties have the same name and functionality as their equivalents in Delphi. This makes porting Delphi applications to Lazarus relatively easy.

Developing

Tools

Coming from Delphi

The Lazarus Developer Guides

LCL - Lazarus component library

The following articles go deeper into developing for/with the LCL. See also the user LCL section above.

Interfaces

Translating/Internationalization/Localization

These articles cover how to set up the IDE, LCL and your own programs with translated/localized strings, and how to internationalize them (e.g. deal with date formats, decimal separators etc) :

  • German - Notes and guidelines for translating the Lazarus IDE to German, including a small dictionary to look up often used translations.
  • Portuguese-Brazilian - Small dictionary containing common translations of terms used in the Lazarus IDE for the Portuguese-Brazilian translation.
  • Russian - Notes and guidelines for translating the Lazarus IDE into Russian.

Additional Components Documentation

Free Pascal Compiler Documentation

In addition to this site, the latest version of the documentation can also be found on-line and in a variety of downloadable formats on the main Free Pascal Compiler site.

Special Topics

Lazarus related blogs, websites, videos, magazines and books

Blogs

Websites

These websites cover Free Pascal, Lazarus or both - or they cover Delphi concepts that are applicable to Lazarus/FPC:

Chinese:

French:

Spanish:

Videos

Books

Conferences on Lazarus and Free Pascal

How to cite in scientific publications

Missing documentation?

If you miss documentation for Lazarus or Free Pascal, you can always write it yourself and submit it to the Lazarus/FPC bugtracker for inclusion. Have a look at:

  • FPDoc Editor Built-in documentation editor in Lazarus. Page explains how to get fpdoc help sources and write your own help.

See also