-
-
Notifications
You must be signed in to change notification settings - Fork 563
Expand file tree
/
Copy pathroutine_editor.dfm
More file actions
445 lines (445 loc) · 12.3 KB
/
routine_editor.dfm
File metadata and controls
445 lines (445 loc) · 12.3 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
object frmRoutineEditor: TfrmRoutineEditor
Left = 0
Top = 0
Width = 700
Height = 500
TabOrder = 0
DesignSize = (
700
500)
object lblSQLcode: TLabel
AlignWithMargins = True
Left = 3
Top = 183
Width = 694
Height = 13
Align = alTop
Caption = 'Routine body:'
FocusControl = SynMemoBody
end
object lblDisabledWhy: TLabel
Left = 256
Top = 476
Width = 177
Height = 13
Anchors = [akLeft, akBottom]
Caption = 'You have no privilege to this routine.'
Visible = False
end
object spltTop: TSplitter
Left = 0
Top = 172
Width = 700
Height = 8
Cursor = crSizeNS
Align = alTop
ResizeStyle = rsUpdate
end
object btnSave: TButton
Left = 165
Top = 471
Width = 75
Height = 25
Anchors = [akLeft, akBottom]
Caption = 'Save'
Default = True
TabOrder = 4
OnClick = btnSaveClick
end
object btnDiscard: TButton
Left = 84
Top = 471
Width = 75
Height = 25
Anchors = [akLeft, akBottom]
Caption = 'Discard'
ModalResult = 2
TabOrder = 3
OnClick = btnDiscardClick
end
object btnHelp: TButton
Left = 3
Top = 471
Width = 75
Height = 25
Anchors = [akLeft, akBottom]
Caption = 'Help'
TabOrder = 2
OnClick = btnHelpClick
end
object SynMemoBody: TSynMemo
AlignWithMargins = True
Left = 3
Top = 202
Width = 694
Height = 258
Margins.Bottom = 40
SingleLineMode = False
Align = alClient
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
TabOrder = 1
OnDragDrop = SynMemoBodyDragDrop
OnDragOver = SynMemoBodyDragOver
CodeFolding.GutterShapeSize = 11
CodeFolding.CollapsedLineColor = clGrayText
CodeFolding.FolderBarLinesColor = clGrayText
CodeFolding.IndentGuidesColor = clGray
CodeFolding.IndentGuides = True
CodeFolding.ShowCollapsedLine = False
CodeFolding.ShowHintMark = True
UseCodeFolding = False
Gutter.AutoSize = True
Gutter.DigitCount = 2
Gutter.Font.Charset = DEFAULT_CHARSET
Gutter.Font.Color = clWindowText
Gutter.Font.Height = -11
Gutter.Font.Name = 'Courier New'
Gutter.Font.Style = []
Gutter.LeftOffset = 2
Gutter.ShowLineNumbers = True
Highlighter = MainForm.SynSQLSynUsed
Lines.Strings = (
'SynMemoBody')
RightEdge = 0
TabWidth = 3
WantTabs = True
OnChange = Modification
FontSmoothing = fsmNone
RemovedKeystrokes = <
item
Command = ecDeleteLine
ShortCut = 16473
end>
AddedKeystrokes = <
item
Command = ecRedo
ShortCut = 16473
end>
end
object PageControlMain: TPageControl
AlignWithMargins = True
Left = 3
Top = 3
Width = 694
Height = 166
ActivePage = tabOptions
Align = alTop
Constraints.MinHeight = 166
Images = MainForm.VirtualImageListMain
TabOrder = 0
OnChange = PageControlMainChange
object tabOptions: TTabSheet
Caption = 'Options'
ImageIndex = 39
ImageName = 'icons8-support'
DesignSize = (
686
137)
object lblName: TLabel
Left = 3
Top = 11
Width = 31
Height = 13
Caption = '&Name:'
FocusControl = editName
end
object lblType: TLabel
Left = 3
Top = 65
Width = 28
Height = 13
Caption = '&Type:'
FocusControl = comboType
end
object lblReturns: TLabel
Left = 3
Top = 90
Width = 42
Height = 13
Caption = '&Returns:'
FocusControl = comboReturns
end
object lblSQL: TLabel
Left = 408
Top = 65
Width = 62
Height = 13
Caption = '&Data access:'
FocusControl = comboDataAccess
end
object lblSecurity: TLabel
Left = 408
Top = 90
Width = 65
Height = 13
Caption = 'SQL Se&curity:'
FocusControl = comboSecurity
end
object lblComment: TLabel
Left = 3
Top = 38
Width = 49
Height = 13
Caption = '&Comment:'
FocusControl = editComment
end
object lblDefiner: TLabel
Left = 408
Top = 11
Width = 39
Height = 13
Caption = 'De&finer:'
end
object chkDeterministic: TCheckBox
Left = 84
Top = 114
Width = 602
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = '&Deterministic'
TabOrder = 7
OnClick = Modification
end
object editComment: TEdit
Left = 84
Top = 35
Width = 599
Height = 21
Anchors = [akLeft, akTop, akRight]
TabOrder = 2
Text = 'editComment'
OnChange = Modification
end
object comboSecurity: TComboBox
Left = 489
Top = 87
Width = 194
Height = 21
Style = csDropDownList
Anchors = [akLeft, akTop, akRight]
TabOrder = 6
OnChange = Modification
end
object comboDataAccess: TComboBox
Left = 489
Top = 62
Width = 194
Height = 21
Style = csDropDownList
Anchors = [akLeft, akTop, akRight]
TabOrder = 5
OnChange = Modification
end
object comboReturns: TComboBox
Left = 84
Top = 87
Width = 310
Height = 21
TabOrder = 4
Text = 'comboReturns'
OnChange = Modification
end
object comboType: TComboBox
Left = 84
Top = 62
Width = 310
Height = 21
Style = csDropDownList
TabOrder = 3
OnSelect = comboTypeSelect
end
object editName: TEdit
Left = 84
Top = 8
Width = 310
Height = 21
TabOrder = 0
Text = 'editName'
TextHint = 'Enter routine name'
OnChange = Modification
end
object comboDefiner: TComboBox
Left = 489
Top = 8
Width = 194
Height = 21
Anchors = [akLeft, akTop, akRight]
TabOrder = 1
Text = 'comboDefiner'
OnChange = Modification
OnDropDown = comboDefinerDropDown
end
end
object tabParameters: TTabSheet
Caption = 'Parameters'
ImageIndex = 122
ImageName = 'icons8-refresh'
object listParameters: TVirtualStringTree
Left = 82
Top = 0
Width = 604
Height = 137
Align = alClient
DragImageKind = diMainColumnOnly
DragMode = dmAutomatic
DragType = dtVCL
EditDelay = 0
Header.AutoSizeIndex = 1
Header.MainColumn = 1
Header.Options = [hoAutoResize, hoColumnResize, hoDblClickResize, hoDrag, hoVisible, hoDisableAnimatedResize, hoAutoResizeInclCaption]
Header.PopupMenu = MainForm.popupListHeader
Images = MainForm.VirtualImageListMain
NodeDataSize = 0
TabOrder = 0
TreeOptions.MiscOptions = [toAcceptOLEDrop, toEditable, toFullRepaintOnResize, toGridExtensions, toInitOnSave, toToggleOnDblClick, toWheelPanning, toEditOnClick]
TreeOptions.PaintOptions = [toHideFocusRect, toHotTrack, toShowButtons, toShowDropmark, toShowHorzGridLines, toShowVertGridLines, toThemeAware, toUseBlendedImages, toFullVertGridLines, toUseExplorerTheme]
TreeOptions.SelectionOptions = [toExtendedFocus, toFullRowSelect]
OnBeforePaint = listParametersBeforePaint
OnCreateEditor = listParametersCreateEditor
OnEditing = listParametersEditing
OnFocusChanged = listParametersFocusChanged
OnGetText = listParametersGetText
OnPaintText = listParametersPaintText
OnGetImageIndex = listParametersGetImageIndex
OnNewText = listParametersNewText
Touch.InteractiveGestures = [igPan, igPressAndTap]
Touch.InteractiveGestureOptions = [igoPanSingleFingerHorizontal, igoPanSingleFingerVertical, igoPanInertia, igoPanGutter, igoParentPassthrough]
Columns = <
item
Position = 0
Text = '#'
end
item
Options = [coDraggable, coEnabled, coParentBidiMode, coParentColor, coResizable, coShowDropMark, coVisible, coAllowFocus]
Position = 1
Text = 'Name'
Width = 390
end
item
Options = [coDraggable, coEnabled, coParentBidiMode, coParentColor, coResizable, coShowDropMark, coVisible, coAllowFocus]
Position = 2
Text = 'Datatype'
Width = 90
end
item
Options = [coDraggable, coEnabled, coParentBidiMode, coParentColor, coResizable, coShowDropMark, coVisible, coAllowFocus]
Position = 3
Text = 'Context'
Width = 70
end>
end
object tlbParameters: TToolBar
Left = 0
Top = 0
Width = 82
Height = 137
Align = alLeft
AutoSize = True
ButtonWidth = 82
Caption = 'tlbParameters'
Images = MainForm.VirtualImageListMain
List = True
ShowCaptions = True
TabOrder = 1
object btnAddParam: TToolButton
Left = 0
Top = 0
Caption = 'Add'
ImageIndex = 45
ImageName = 'icons8-add'
Wrap = True
OnClick = btnAddParamClick
end
object btnRemoveParam: TToolButton
Left = 0
Top = 22
Caption = 'Remove'
Enabled = False
ImageIndex = 46
ImageName = 'icons8-delete-button'
Wrap = True
OnClick = btnRemoveParamClick
end
object btnClearParams: TToolButton
Left = 0
Top = 44
Caption = 'Clear'
ImageIndex = 26
ImageName = 'icons8-close-button'
Wrap = True
OnClick = btnClearParamsClick
end
object btnMoveUpParam: TToolButton
Left = 0
Top = 66
Caption = 'Move up'
Enabled = False
ImageIndex = 74
ImageName = 'icons8-sort-up'
Wrap = True
OnClick = btnMoveParamClick
end
object btnMoveDownParam: TToolButton
Left = 0
Top = 88
Caption = 'Move down'
Enabled = False
ImageIndex = 75
ImageName = 'icons8-caret-arrowhead-facing-down'
OnClick = btnMoveParamClick
end
end
end
object tabCreateCode: TTabSheet
Caption = 'CREATE code'
ImageIndex = 119
ImageName = 'icons8-source-code-other'
object SynMemoCREATEcode: TSynMemo
Left = 0
Top = 0
Width = 686
Height = 137
SingleLineMode = False
Align = alClient
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
TabOrder = 0
CodeFolding.GutterShapeSize = 11
CodeFolding.CollapsedLineColor = clGrayText
CodeFolding.FolderBarLinesColor = clGrayText
CodeFolding.IndentGuidesColor = clGray
CodeFolding.IndentGuides = True
CodeFolding.ShowCollapsedLine = False
CodeFolding.ShowHintMark = True
UseCodeFolding = False
Gutter.Font.Charset = DEFAULT_CHARSET
Gutter.Font.Color = clWindowText
Gutter.Font.Height = -11
Gutter.Font.Name = 'Courier New'
Gutter.Font.Style = []
Highlighter = MainForm.SynSQLSynUsed
Lines.Strings = (
'SynMemoCREATEcode')
ReadOnly = True
FontSmoothing = fsmNone
end
end
end
object btnRunProc: TButton
Left = 533
Top = 471
Width = 164
Height = 25
Action = MainForm.actRunRoutines
Anchors = [akRight, akBottom]
Images = MainForm.VirtualImageListMain
TabOrder = 5
end
end