ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/examples/isqlmonitor/IntegratedMonitoring.lpr
Revision: 263
Committed: Thu Dec 6 15:55:01 2018 UTC (5 years, 4 months ago) by tony
File size: 1608 byte(s)
Log Message:
Release 2.3.2 committed

File Contents

# User Rev Content
1 tony 143 (*
2     * IBX For Lazarus (Firebird Express)
3     *
4     * The contents of this file are subject to the Initial Developer's
5     * Public License Version 1.0 (the "License"); you may not use this
6     * file except in compliance with the License. You may obtain a copy
7     * of the License here:
8     *
9     * http://www.firebirdsql.org/index.php?op=doc&id=idpl
10     *
11     * Software distributed under the License is distributed on an "AS
12     * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
13     * implied. See the License for the specific language governing rights
14     * and limitations under the License.
15     *
16     * The Initial Developer of the Original Code is Tony Whyman.
17     *
18     * The Original Code is (C) 2015 Tony Whyman, MWA Software
19     * (http://www.mwasoftware.co.uk).
20     *
21     * All Rights Reserved.
22     *
23     * Contributor(s): ______________________________________.
24     *
25     *)
26    
27 tony 33 program IntegratedMonitoring;
28    
29     {$mode objfpc}{$H+}
30    
31     uses
32     {$IFDEF UNIX}{$IFDEF UseCThreads}
33     cthreads,
34     {$ENDIF}{$ENDIF}
35     Interfaces, // this includes the LCL widgetset
36     Forms, MainForm, SelectDeptDlgUnit, ibexpress, MonitorFormUnit;
37    
38     {$R *.res}
39    
40 tony 263 begin
41     Application.Title := 'Integrated Monitoring Example';
42 tony 33
43     {
44     if you want to open a console window in Windows (for writeln debugging
45     enabled the following
46    
47     AllocConsole; // in Windows unit
48     IsConsole := True; // in System unit
49     SysInitStdIO; // in System unit
50     }
51    
52     Application.Initialize;
53     Application.CreateForm(TForm1, Form1);
54     Application.CreateForm(TSelectDeptDlg, SelectDeptDlg);
55     Application.CreateForm(TMonitorForm, MonitorForm);
56     Application.Run;
57     end.
58