23 lines
383 B
ObjectPascal
23 lines
383 B
ObjectPascal
|
program first_gui;
|
||
|
|
||
|
{$mode objfpc}{$H+}
|
||
|
|
||
|
uses
|
||
|
{$IFDEF UNIX}{$IFDEF UseCThreads}
|
||
|
cthreads,
|
||
|
{$ENDIF}{$ENDIF}
|
||
|
Interfaces, // this includes the LCL widgetset
|
||
|
Forms, umain
|
||
|
{ you can add units after this };
|
||
|
|
||
|
{$R *.res}
|
||
|
|
||
|
begin
|
||
|
RequireDerivedFormResource:=True;
|
||
|
Application.Title:='first_gui';
|
||
|
Application.Initialize;
|
||
|
Application.CreateForm(TForm1, Form1);
|
||
|
Application.Run;
|
||
|
end.
|
||
|
|