summaryrefslogtreecommitdiff
path: root/extras/tiopf/demos/StringGridMediatorDemo/stringgridmediatordemo.lpr
blob: 366718b0c3d7e84ebb7eb0dc93bb4940f5a7756c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
program stringgridmediatordemo;

{$mode objfpc}{$H+}

uses
  {$IFDEF UNIX}{$IFDEF UseCThreads}
  cthreads,
  {$ENDIF}{$ENDIF}
  Classes, fpg_main, frm_main, Model, Constants, tiOPFfpGUI, frm_personmaint,
  Model_View;


procedure MainProc;
var
  frm: TMainForm;
begin
  fpgApplication.Initialize;
  frm := TMainForm.Create(nil);
  try
    frm.Show;
    fpgApplication.Run;
  finally
    frm.Free;
  end;
end;

begin
  MainProc;
end.