ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/examples/scriptengine/unit1.lfm
Revision: 47
Committed: Mon Jan 9 15:31:51 2017 UTC (7 years, 10 months ago) by tony
File size: 3896 byte(s)
Log Message:
Committing updates for Release R2-0-1

File Contents

# User Rev Content
1 tony 37 object Form1: TForm1
2 tony 47 Left = 413
3 tony 37 Height = 402
4 tony 47 Top = 367
5 tony 37 Width = 773
6     Caption = 'IBX Script Example'
7     ClientHeight = 402
8     ClientWidth = 773
9     OnShow = FormShow
10 tony 47 LCLVersion = '1.6.2.0'
11 tony 37 object Label1: TLabel
12     Left = 14
13 tony 47 Height = 17
14 tony 37 Top = 16
15 tony 47 Width = 94
16 tony 37 Caption = 'Database Name:'
17     ParentColor = False
18     end
19     object Label2: TLabel
20     Left = 14
21 tony 47 Height = 17
22 tony 37 Top = 56
23 tony 47 Width = 32
24 tony 37 Caption = 'Script'
25     ParentColor = False
26     end
27     object IBScript: TMemo
28     Left = 14
29     Height = 287
30     Top = 72
31     Width = 341
32     Anchors = [akTop, akLeft, akRight, akBottom]
33     Lines.Strings = (
34     'IBScript'
35     )
36     ScrollBars = ssAutoVertical
37     TabOrder = 0
38     end
39     object Button1: TButton
40     Left = 369
41     Height = 30
42     Top = 192
43     Width = 77
44     Action = RunScript
45     Anchors = [akTop, akRight]
46     TabOrder = 1
47     end
48     object Label3: TLabel
49 tony 47 Left = 464
50     Height = 17
51 tony 37 Top = 56
52 tony 47 Width = 63
53 tony 37 Anchors = [akTop, akRight]
54     Caption = 'Results Log'
55     ParentColor = False
56     end
57     object ResultsLog: TMemo
58     Left = 460
59     Height = 287
60     Top = 72
61     Width = 296
62     Anchors = [akTop, akRight, akBottom]
63     Lines.Strings = (
64     'ResultsLog'
65     )
66     ScrollBars = ssAutoVertical
67     TabOrder = 2
68     end
69     object ProgressBar1: TProgressBar
70     Left = 460
71     Height = 20
72     Top = 369
73     Width = 296
74     Anchors = [akRight, akBottom]
75     TabOrder = 3
76     end
77     object Button2: TButton
78     Left = 14
79     Height = 30
80     Top = 369
81     Width = 82
82     Action = LoadScript
83     Anchors = [akLeft, akBottom]
84     TabOrder = 4
85     end
86     object DBName: TLabel
87     Left = 119
88 tony 47 Height = 17
89 tony 37 Top = 16
90 tony 47 Width = 51
91 tony 37 Caption = 'DBName'
92     ParentColor = False
93     end
94     object StopOnError: TCheckBox
95     Left = 104
96 tony 47 Height = 22
97 tony 37 Top = 375
98 tony 47 Width = 127
99 tony 37 Caption = 'Stop On First Error'
100     OnChange = StopOnErrorChange
101     TabOrder = 5
102     end
103     object EchoInput: TCheckBox
104     Left = 248
105 tony 47 Height = 22
106 tony 37 Top = 375
107 tony 47 Width = 83
108 tony 37 Caption = 'Echo Input'
109     OnChange = EchoInputChange
110     TabOrder = 6
111     end
112     object IBXScript1: TIBXScript
113     Database = IBDatabase1
114 tony 45 IgnoreGrants = False
115 tony 37 Transaction = IBTransaction1
116 tony 47 ShowAffectedRows = False
117     ShowPerformanceStats = False
118 tony 37 GetParamValue = IBXScript1GetParamValue
119     OnOutputLog = IBXScript1LogProc
120     OnErrorLog = IBXScript1LogProc
121     OnProgressEvent = IBXScript1ProgressEvent
122     OnSelectSQL = IBXScript1SelectSQL
123     left = 24
124     top = 104
125     end
126     object IBDatabase1: TIBDatabase
127     Connected = False
128 tony 47 BeforeConnect = IBDatabase1BeforeConnect
129     CreateIfNotExists = False
130 tony 37 AllowStreamedConnected = False
131     DatabaseName = 'employee'
132     Params.Strings = (
133     'lc_ctype=UTF8 '
134     'user_name=SYSDBA'
135     )
136     IdleTimer = 0
137     TraceFlags = []
138 tony 45 UseDefaultSystemCodePage = False
139 tony 37 left = 24
140     top = 156
141     end
142     object IBTransaction1: TIBTransaction
143     Active = False
144     DefaultDatabase = IBDatabase1
145     Params.Strings = (
146     'concurrency'
147     'nowait'
148     )
149     left = 24
150     top = 208
151     end
152     object ActionList1: TActionList
153     left = 75
154     top = 104
155     object LoadScript: TAction
156     Caption = 'Load Script'
157     OnExecute = LoadScriptExecute
158     end
159     object RunScript: TAction
160     Caption = 'Execute'
161     OnExecute = RunScriptExecute
162     OnUpdate = RunScriptUpdate
163     end
164     end
165     object OpenDialog1: TOpenDialog
166     Title = 'Load SQL Script'
167     DefaultExt = '.sql'
168     Filter = 'SQL FIles|*.sql|All Files|*.*'
169     Options = [ofFileMustExist, ofEnableSizing, ofViewDetail]
170     left = 75
171     top = 156
172     end
173     object OpenBlobDialog: TOpenDialog
174     Filter = 'All Files|*.*'
175     Options = [ofFileMustExist, ofEnableSizing, ofViewDetail]
176     left = 75
177     top = 208
178     end
179     object Timer1: TTimer
180     Interval = 0
181     OnTimer = Timer1Timer
182     left = 127
183     top = 112
184     end
185     end