Ok I found something: http://wiki.freepascal.org/fpGUI_Interface#Creating_your_first_LCL_application_with_fpGUI