Repository navigation
Expand file tree
/
Copy pathChildWin.dfm
More file actions
843 lines (843 loc) · 21.7 KB
/
Copy pathChildWin.dfm
File metadata and controls
843 lines (843 loc) · 21.7 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
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
object MDIChild: TMDIChild
Left = 197
Top = 117
Caption = 'Game Server'
ClientHeight = 382
ClientWidth = 984
Color = clBtnFace
Constraints.MinHeight = 421
Constraints.MinWidth = 1000
ParentFont = True
FormStyle = fsMDIChild
OldCreateOrder = False
Position = poDefault
Visible = True
OnClose = FormClose
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object pgctrlSvr: TPageControl
Left = 0
Top = 0
Width = 984
Height = 382
ActivePage = tsHistory
Align = alClient
MultiLine = True
TabOrder = 0
object tsServerSettings: TTabSheet
Caption = 'Server Settings'
ExplicitLeft = 8
ExplicitTop = 28
ExplicitHeight = 433
DesignSize = (
976
354)
object Label1: TLabel
Left = 7
Top = 27
Width = 68
Height = 13
Caption = 'Server Name*'
end
object Label2: TLabel
Left = 7
Top = 148
Width = 57
Height = 13
Caption = 'Server File*'
end
object Label3: TLabel
Left = 7
Top = 175
Width = 95
Height = 13
Caption = 'Server Config. File*'
end
object Label4: TLabel
Left = 7
Top = 250
Width = 85
Height = 13
Caption = 'Java Executable*'
end
object Label5: TLabel
Left = 7
Top = 277
Width = 108
Height = 13
Caption = 'Java RAM Alloc. (MB)*'
end
object Label6: TLabel
Left = 121
Top = 295
Width = 16
Height = 13
Caption = 'Min'
end
object Label7: TLabel
Left = 189
Top = 295
Width = 20
Height = 13
Caption = 'Max'
end
object Label8: TLabel
Left = 429
Top = 277
Width = 106
Height = 13
Caption = 'Server Thread Priority'
end
object Label9: TLabel
Left = 677
Top = 5
Width = 281
Height = 13
Caption = 'Server Commands (can be entered while server is running)'
end
object Label10: TLabel
Left = 7
Top = 54
Width = 88
Height = 13
Caption = 'Server Description'
end
object lblGenerate: TLabel
Left = 84
Top = 314
Width = 660
Height = 37
Anchors = [akLeft, akBottom]
AutoSize = False
Caption = 'Click Generate to see the current command line statement'
WordWrap = True
end
object dbedSvrName: TDBEdit
Left = 121
Top = 24
Width = 550
Height = 21
DataField = 'SvrName'
DataSource = dstblServer
TabOrder = 0
end
object dbedSvrGameLocation: TDBEdit
Left = 121
Top = 145
Width = 523
Height = 21
DataField = 'SvrGameLocation'
DataSource = dstblServer
ReadOnly = True
TabOrder = 2
end
object dbedJavaMemMinMB: TDBEdit
Left = 121
Top = 274
Width = 62
Height = 21
DataField = 'JavaMemMinMB'
DataSource = dstblServer
TabOrder = 9
end
object dbedJavaMemMaxMB: TDBEdit
Left = 189
Top = 274
Width = 62
Height = 21
DataField = 'JavaMemMaxMB'
DataSource = dstblServer
TabOrder = 10
end
object dbedJavaExeLocation: TDBEdit
Left = 121
Top = 247
Width = 523
Height = 21
DataField = 'JavaExeLocation'
DataSource = dstblServer
ReadOnly = True
TabOrder = 7
end
object dbedSvrPropertiesLocation: TDBEdit
Left = 121
Top = 172
Width = 523
Height = 21
DataField = 'SvrPropertiesLocation'
DataSource = dstblServer
ReadOnly = True
TabOrder = 4
end
object btnOpenSvrGameLocation: TButton
Left = 650
Top = 145
Width = 21
Height = 21
Caption = '...'
TabOrder = 3
OnClick = btnOpenSvrGameLocationClick
end
object btnOpenSvrPropertiesLocation: TButton
Left = 650
Top = 172
Width = 21
Height = 21
Caption = '...'
TabOrder = 5
OnClick = btnOpenSvrPropertiesLocationClick
end
object btnOpenJavaExeLocation: TButton
Left = 650
Top = 247
Width = 21
Height = 21
Caption = '...'
TabOrder = 8
OnClick = btnOpenJavaExeLocationClick
end
object btnEditSvrPropertiesFile: TButton
Left = 121
Top = 199
Width = 37
Height = 25
Caption = 'Edit'
TabOrder = 6
OnClick = btnEditSvrPropertiesFileClick
end
object dblcbThreadPriority: TDBLookupComboBox
Left = 541
Top = 274
Width = 130
Height = 21
DataField = 'ThreadPriority'
DataSource = dstblServer
KeyField = 'PriorityValue'
ListField = 'ThreadPriority'
ListSource = dsltThreadPriorities
TabOrder = 12
end
object dbmSvrDesc: TDBMemo
Left = 121
Top = 51
Width = 550
Height = 88
DataField = 'SvrDescription'
DataSource = dstblServer
ScrollBars = ssVertical
TabOrder = 1
end
object dbmSvrCommands: TDBMemo
Left = 677
Top = 24
Width = 293
Height = 271
Anchors = [akLeft, akTop, akRight, akBottom]
DataField = 'GameSvrCommands'
DataSource = dstblServer
ScrollBars = ssVertical
TabOrder = 13
end
object DBNavigator1: TDBNavigator
Left = 750
Top = 301
Width = 220
Height = 50
DataSource = dstblServer
VisibleButtons = [nbEdit, nbPost, nbCancel, nbRefresh]
Anchors = [akRight, akBottom]
TabOrder = 14
ExplicitTop = 380
end
object dbcbUseOverrides: TDBCheckBox
Left = 320
Top = 276
Width = 86
Height = 17
Alignment = taLeftJustify
Caption = 'Use Overrides'
DataField = 'UseOverrides'
DataSource = dstblServer
TabOrder = 11
OnClick = dbcbUseOverridesClick
end
object btnGenerateCmd: TButton
Left = 3
Top = 328
Width = 75
Height = 25
Anchors = [akLeft, akBottom]
Caption = 'Preview'
TabOrder = 15
OnClick = btnGenerateCmdClick
end
end
object tsOverrides: TTabSheet
Caption = 'Overrides'
ImageIndex = 6
DesignSize = (
976
354)
object Label11: TLabel
Left = 3
Top = 19
Width = 54
Height = 13
Caption = 'Game Type'
end
object Label12: TLabel
Left = 548
Top = 19
Width = 155
Height = 13
Caption = 'These will be included at runtime'
end
object dblcbGames: TDBLookupComboBox
Left = 63
Top = 16
Width = 365
Height = 21
KeyField = 'GameID'
ListField = 'GameName'
ListSource = dsltGame
TabOrder = 0
end
object dbgGameOverrides: TDBGrid
Left = 3
Top = 43
Width = 425
Height = 308
Anchors = [akLeft, akTop, akBottom]
DataSource = dsltGameOverrides
Options = [dgTitles, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
TabOrder = 1
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'Tahoma'
TitleFont.Style = []
Columns = <
item
Expanded = False
FieldName = 'OverrideName'
Title.Caption = 'Override Name'
Width = 150
Visible = True
end
item
Expanded = False
FieldName = 'CommandLineSwitch'
Title.Caption = 'Command Line Switch'
Width = 150
Visible = True
end
item
Expanded = False
FieldName = 'DefaultValue'
Title.Caption = 'Default Value'
Width = 100
Visible = True
end>
end
object btnAddOverride: TButton
Left = 434
Top = 43
Width = 108
Height = 25
Caption = 'Add Override'
TabOrder = 2
OnClick = btnAddOverrideClick
end
object dbgSvrOverrides: TDBGrid
Left = 548
Top = 43
Width = 425
Height = 250
Anchors = [akLeft, akTop, akRight, akBottom]
DataSource = dstblServerOverrides
Options = [dgTitles, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
TabOrder = 3
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'Tahoma'
TitleFont.Style = []
Columns = <
item
Expanded = False
FieldName = 'Order'
Width = 32
Visible = True
end
item
Expanded = False
FieldName = 'OverrideName'
Title.Caption = 'Override Name'
Width = 150
Visible = True
end
item
Expanded = False
FieldName = 'CommandLineSwitch'
Title.Caption = 'Command Line Switch'
Width = 120
Visible = True
end
item
Expanded = False
FieldName = 'DefaultValue'
Title.Caption = 'Default Value'
Width = 95
Visible = True
end>
end
object DBNavigator3: TDBNavigator
Left = 784
Top = 326
Width = 108
Height = 25
DataSource = dstblServerOverrides
VisibleButtons = [nbPost, nbCancel, nbRefresh]
Anchors = [akRight, akBottom]
TabOrder = 4
end
object dbedSvrOvrName: TDBEdit
Left = 548
Top = 299
Width = 150
Height = 21
Anchors = [akLeft, akBottom]
DataField = 'OverrideName'
DataSource = dstblServerOverrides
TabOrder = 5
end
object dbedSvrOvrCmd: TDBEdit
Left = 704
Top = 299
Width = 142
Height = 21
Anchors = [akLeft, akBottom]
DataField = 'CommandLineSwitch'
DataSource = dstblServerOverrides
TabOrder = 6
end
object dbedSvrOvrVal: TDBEdit
Left = 852
Top = 299
Width = 101
Height = 21
Anchors = [akLeft, akBottom]
DataField = 'DefaultValue'
DataSource = dstblServerOverrides
TabOrder = 7
end
object btnSvrOvrUP: TButton
Left = 504
Top = 161
Width = 38
Height = 25
Caption = 'Up'
TabOrder = 8
OnClick = btnSvrOvrUPClick
end
object btnSvrOvrDOWN: TButton
Left = 504
Top = 192
Width = 38
Height = 25
Caption = 'Down'
TabOrder = 9
OnClick = btnSvrOvrDOWNClick
end
object btnBackToSettings: TButton
Left = 898
Top = 326
Width = 75
Height = 25
Anchors = [akRight, akBottom]
Caption = 'Back'
TabOrder = 10
OnClick = btnBackToSettingsClick
end
object btnNewSvrOverride: TButton
Left = 548
Top = 326
Width = 38
Height = 25
Anchors = [akLeft, akBottom]
Caption = 'New'
TabOrder = 11
OnClick = btnNewSvrOverrideClick
end
object btnDelSvrOverride: TButton
Left = 592
Top = 326
Width = 38
Height = 25
Anchors = [akLeft, akBottom]
Caption = 'Del'
TabOrder = 12
OnClick = btnDelSvrOverrideClick
end
end
object tsPropertiesFile: TTabSheet
Caption = 'Properties File'
ImageIndex = 2
ExplicitHeight = 433
DesignSize = (
976
354)
object memGameProperties: TMemo
Left = 3
Top = 3
Width = 970
Height = 317
Anchors = [akLeft, akTop, akRight, akBottom]
ScrollBars = ssBoth
TabOrder = 0
WordWrap = False
ExplicitHeight = 396
end
object btnSaveGameProperties: TButton
Left = 672
Top = 326
Width = 146
Height = 25
Anchors = [akRight, akBottom]
Caption = 'Save Changes'
TabOrder = 1
OnClick = btnSaveGamePropertiesClick
end
object btnCancelGameProperties: TButton
Left = 824
Top = 326
Width = 149
Height = 25
Anchors = [akRight, akBottom]
Caption = 'Cancel Changes'
TabOrder = 2
OnClick = btnCancelGamePropertiesClick
ExplicitTop = 405
end
end
object tsCommandLine: TTabSheet
Caption = 'Command Line'
ImageIndex = 1
ExplicitHeight = 433
object Splitter1: TSplitter
Left = 185
Top = 0
Width = 6
Height = 354
ExplicitLeft = 216
ExplicitHeight = 433
end
object Panel1: TPanel
Left = 191
Top = 0
Width = 785
Height = 354
Align = alClient
Caption = 'Panel1'
TabOrder = 0
ExplicitLeft = 240
ExplicitWidth = 736
ExplicitHeight = 433
object memCommandOutput: TMemo
Left = 1
Top = 1
Width = 783
Height = 331
Margins.Left = 2
Margins.Top = 2
Margins.Right = 2
Margins.Bottom = 2
Align = alClient
Color = clBlack
Font.Charset = DEFAULT_CHARSET
Font.Color = clLime
Font.Height = -11
Font.Name = 'Courier New'
Font.Style = []
ParentFont = False
ScrollBars = ssBoth
TabOrder = 0
WordWrap = False
ExplicitWidth = 734
ExplicitHeight = 376
end
object edCommand: TEdit
Left = 1
Top = 332
Width = 783
Height = 21
Align = alBottom
TabOrder = 1
OnKeyPress = edCommandKeyPress
ExplicitLeft = 256
ExplicitTop = 400
ExplicitWidth = 121
end
end
object pnlCmdLnSide: TPanel
Left = 0
Top = 0
Width = 185
Height = 354
Align = alLeft
Caption = 'pnlCmdLnSide'
TabOrder = 1
ExplicitLeft = 96
ExplicitTop = 104
ExplicitHeight = 41
object dbmGameSvrCommands: TDBMemo
Left = 1
Top = 1
Width = 183
Height = 326
Align = alClient
DataField = 'GameSvrCommands'
DataSource = dstblServer
ReadOnly = True
ScrollBars = ssVertical
TabOrder = 0
ExplicitLeft = -31
ExplicitWidth = 216
ExplicitHeight = 352
end
object pnlCmdStartStop: TPanel
Left = 1
Top = 327
Width = 183
Height = 26
Align = alBottom
TabOrder = 1
ExplicitTop = 326
object btnStartSvr: TButton
Left = 12
Top = 0
Width = 75
Height = 25
Caption = 'Start'
TabOrder = 0
OnClick = btnStartSvrClick
end
object btnStopSvr: TButton
Left = 93
Top = 0
Width = 75
Height = 25
Caption = 'Stop'
TabOrder = 1
OnClick = btnStopSvrClick
end
end
end
end
object tsHistory: TTabSheet
Caption = 'History'
ImageIndex = 3
ExplicitHeight = 467
DesignSize = (
976
354)
object dbgServerLogs: TDBGrid
Left = 0
Top = 3
Width = 233
Height = 318
Anchors = [akLeft, akTop, akBottom]
DataSource = dstblServerLogs
Options = [dgTitles, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgTitleHotTrack]
ReadOnly = True
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'Tahoma'
TitleFont.Style = []
Columns = <
item
Expanded = False
FieldName = 'SvrDTStarted'
Title.Caption = 'Started'
Width = 105
Visible = True
end
item
Expanded = False
FieldName = 'SvrDTStopped'
Title.Caption = 'Stopped'
Width = 105
Visible = True
end>
end
object dbmSvrLog: TDBMemo
Left = 234
Top = 3
Width = 739
Height = 348
Anchors = [akLeft, akTop, akRight, akBottom]
DataField = 'SvrConsoleLog'
DataSource = dstblServerLogs
ScrollBars = ssBoth
TabOrder = 1
WordWrap = False
end
object DBNavigator2: TDBNavigator
Left = 0
Top = 321
Width = 234
Height = 30
DataSource = dstblServerLogs
VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbDelete, nbEdit, nbPost, nbCancel, nbRefresh]
Anchors = [akLeft, akBottom]
TabOrder = 2
end
end
object tsScheduling: TTabSheet
Caption = 'Scheduling'
ImageIndex = 4
end
object tsBackup: TTabSheet
Caption = 'Backup'
ImageIndex = 5
end
end
object DosCommand1: TDosCommand
InputToOutput = False
MaxTimeAfterBeginning = 0
MaxTimeAfterLastOutput = 0
Left = 360
Top = 152
end
object tblServer: TnxTable
Database = DMCore.nxDatabase1
Options = [dsoRecNoSupport]
BeforeCancel = tblServerBeforeCancel
AfterCancel = tblServerAfterCancel
TableName = 'Server'
IndexFieldNames = 'SvrID'
Left = 704
Top = 72
end
object tblServerLogs: TnxTable
Database = DMCore.nxDatabase1
Options = [dsoRecNoSupport]
TableName = 'ServerLogs'
IndexFieldNames = 'SvrID'
MasterFields = 'SvrID'
MasterSource = dstblServer
Left = 888
Top = 72
object tblServerLogsID: TUnsignedAutoIncField
FieldName = 'ID'
end
object tblServerLogsSvrID: TGuidField
FieldName = 'SvrID'
Required = True
Size = 38
end
object tblServerLogsSvrDTStarted: TDateTimeField
FieldName = 'SvrDTStarted'
DisplayFormat = 'd/m/yyyy h:nn am/pm'
end
object tblServerLogsSvrDTStopped: TDateTimeField
FieldName = 'SvrDTStopped'
DisplayFormat = 'd/m/yyyy h:nn am/pm'
end
object tblServerLogsSvrConsoleLog: TWideMemoField
FieldName = 'SvrConsoleLog'
BlobType = ftWideMemo
end
end
object tblServerOverrides: TnxTable
Database = DMCore.nxDatabase1
Options = [dsoRecNoSupport]
TableName = 'ServerOverrides'
IndexFieldNames = 'SvrID;Order'
MasterFields = 'SvrID'
MasterSource = dstblServer
Left = 784
Top = 72
end
object dstblServer: TDataSource
DataSet = tblServer
Left = 704
Top = 120
end
object dstblServerLogs: TDataSource
DataSet = tblServerLogs
Left = 888
Top = 120
end
object dstblServerOverrides: TDataSource
DataSet = tblServerOverrides
Left = 784
Top = 120
end
object FileOpenDialog1: TFileOpenDialog
FavoriteLinks = <>
FileTypes = <
item
DisplayName = 'Executables (*.exe)'
FileMask = '*.exe'
end
item
DisplayName = 'JAR Files (*.jar)'
FileMask = '*.jar'
end
item
DisplayName = 'All Files (*.*)'
FileMask = '*.*'
end>
Options = []
Left = 828
Top = 216
end
object ltThreadPriorities: TnxTable
Database = DMCore.nxDatabase1
Options = [dsoRecNoSupport]
TableName = 'ThreadPriorities'
ReadOnly = True
IndexFieldNames = 'Order'
Left = 308
Top = 264
end
object dsltThreadPriorities: TDataSource
DataSet = ltThreadPriorities
Left = 372
Top = 280
end
object ltGame: TnxTable
Database = DMCore.nxDatabase1
Options = [dsoRecNoSupport]
TableName = 'Game'
ReadOnly = True
IndexFieldNames = 'GameName'
Left = 684
Top = 168
end
object ltGameOverrides: TnxTable
Database = DMCore.nxDatabase1
Options = [dsoRecNoSupport]
TableName = 'GameOverrides'
ReadOnly = True
IndexFieldNames = 'GameID'
MasterFields = 'GameID'
MasterSource = dsltGame
Left = 724
Top = 184
end
object dsltGame: TDataSource
DataSet = ltGame
Left = 684
Top = 232
end
object dsltGameOverrides: TDataSource
DataSet = ltGameOverrides
Left = 724
Top = 248
end
end