ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/examples/isqlmonitor/RemoteMonitorFormUnit.pas
Revision: 33
Committed: Sat Jul 18 12:30:52 2015 UTC (8 years, 9 months ago) by tony
Content type: text/x-pascal
File size: 661 byte(s)
Log Message:
Committing updates for Release R1-3-1

File Contents

# User Rev Content
1 tony 31 unit RemoteMonitorFormUnit;
2    
3     {$mode objfpc}{$H+}
4    
5     interface
6    
7     uses
8     Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
9     IBSQLMonitor;
10    
11     type
12    
13     { TForm1 }
14    
15     TForm1 = class(TForm)
16     IBSQLMonitor1: TIBSQLMonitor;
17     Memo1: TMemo;
18     procedure IBSQLMonitor1SQL(EventText: String; EventTime: TDateTime);
19     private
20     { private declarations }
21     public
22     { public declarations }
23     end;
24    
25     var
26     Form1: TForm1;
27    
28     implementation
29    
30     {$R *.lfm}
31    
32     { TForm1 }
33    
34     procedure TForm1.IBSQLMonitor1SQL(EventText: String; EventTime: TDateTime);
35     begin
36 tony 33 Memo1.Lines.Add(FormatDateTime('dd/mm/yyyy hh:nn:ss.zzzz',EventTime) + ': ' + EventText);
37 tony 31 end;
38    
39     end.
40