Free Pascal

Tips and Tricks

All of our Delphi tips can also be used in Lazarus. Example:

In addition, here are a few typical tips for Lazarus:

  • Rename the executable file: select menu Project / Save Project as...
    The name for the .lpi file that you specify here will be used for the .exe file, e.g. MyProject.lpi will result in MyProject.exe.
  • Finding a component in the palette:
    You know the component name, or part of it, but you don't know on which page it is? Right click on any component in the palette to open the popup menu. Select View all from that menu; this will open a dialog. Enter the (partial) component name in the Find box to filter the list.