fpGUI Interface

From Free Pascal wiki
Revision as of 15:32, 9 April 2007 by Sekelsenmat (talk | contribs)
Jump to navigationJump to search

fpGUI is a widgetset completely written in Object Pascal. It links directly with the underlying windowing system, and thus avoids the need for many external libraries. More information on it's website: http://opensoft.homeip.net/fpgui/

Creating your first LCL application with fpGUI

This is a step-by-step guide to build your first application with the fpgui widgeset

1 - Download the latest Lazarus from subversion and build it (not necessary if you downloaded a pre-compiled snapshot)

2 - Download fpGUI from subversion with this command:

svn co https://fpgui.svn.sourceforge.net/svnroot/fpgui fpgui

You can also use TortoiseSVN to do this

3 - Copy 2 directories from the downloaded fpgui to lazarus

fpgui/trunk/gui to lazarus/lcl/interfaces/fpgui/gui

and

fpgui/trunk/gfx to lazarus/lcl/interfaces/fpgui/gfx

4 - Open Lazarus, open the menu Tools-->"Configure Build Lazarus", select all options to None and LCL to Build+Clean, select fpgui widgetset and rebuild it.

5 - Go to the menu Compiler Options, select fpgui as the widgetset and you can recompile your project to fpgui =)