-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathuChangeRRdates.dfm
614 lines (614 loc) · 14.5 KB
/
uChangeRRdates.dfm
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
object frmChangeRRdates: TfrmChangeRRdates
Left = 1072
Top = 281
BorderIcons = []
BorderStyle = bsDialog
Caption = 'Change room reservation dates'
ClientHeight = 347
ClientWidth = 617
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
KeyPreview = True
OldCreateOrder = False
Position = poOwnerFormCenter
OnCreate = FormCreate
OnKeyDown = FormKeyDown
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object Panel1: TsPanel
Left = 0
Top = 314
Width = 617
Height = 33
Align = alBottom
BevelOuter = bvNone
TabOrder = 0
SkinData.SkinSection = 'PANEL'
DesignSize = (
617
33)
object btnCancel: TsButton
Left = 502
Top = 5
Width = 107
Height = 25
Anchors = [akTop, akRight]
Cancel = True
Caption = 'Cancel'
ImageIndex = 4
Images = DImages.PngImageList1
ModalResult = 2
TabOrder = 0
OnClick = btnCancelClick
SkinData.SkinSection = 'BUTTON'
end
object pbProgress: TsProgressBar
Left = 7
Top = 6
Width = 474
Height = 23
Position = 50
TabOrder = 1
Visible = False
SkinData.SkinSection = 'GAUGE'
end
end
object sPanel1: TsPanel
Left = 0
Top = 165
Width = 617
Height = 149
Align = alClient
TabOrder = 1
SkinData.SkinSection = 'PANEL'
object gbrNextRR: TsGroupBox
Left = 310
Top = 6
Width = 299
Height = 125
Caption = 'Next Reservation'
TabOrder = 0
SkinData.SkinSection = 'GROUPBOX'
Checked = False
object labNextName: TsLabel
Left = 8
Top = 20
Width = 4
Height = 13
Caption = '-'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labNextGuest: TsLabel
Left = 8
Top = 39
Width = 4
Height = 13
Caption = '-'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object LMDSimpleLabel3: TsLabel
Left = 75
Top = 60
Width = 38
Height = 13
Alignment = taRightJustify
Caption = 'Arrival :'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object LMDSimpleLabel4: TsLabel
Left = 58
Top = 81
Width = 56
Height = 13
Alignment = taRightJustify
Caption = 'Departure :'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object LMDSimpleLabel5: TsLabel
Left = 76
Top = 101
Width = 38
Height = 13
Alignment = taRightJustify
Caption = 'Status :'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labNextArrival: TsLabel
Left = 122
Top = 60
Width = 4
Height = 13
Caption = '-'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labNextDeparture: TsLabel
Left = 122
Top = 81
Width = 4
Height = 13
Caption = '-'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labNextStatus: TsLabel
Left = 122
Top = 101
Width = 4
Height = 13
Caption = '-'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labNextDays: TsLabel
Left = 187
Top = 60
Width = 4
Height = 13
Caption = '-'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
end
object gbrLastRR: TsGroupBox
Left = 11
Top = 6
Width = 295
Height = 125
Caption = 'Previous reservation'
TabOrder = 1
SkinData.SkinSection = 'GROUPBOX'
Checked = False
object labLastName: TsLabel
Left = 8
Top = 20
Width = 4
Height = 13
Caption = '-'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labLastGuest: TsLabel
Left = 8
Top = 36
Width = 4
Height = 13
Caption = '-'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object LMDSimpleLabel6: TsLabel
Left = 75
Top = 60
Width = 38
Height = 13
Alignment = taRightJustify
Caption = 'Arrival :'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object LMDSimpleLabel7: TsLabel
Left = 57
Top = 81
Width = 56
Height = 13
Alignment = taRightJustify
Caption = 'Departure :'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object LMDSimpleLabel8: TsLabel
Left = 75
Top = 101
Width = 38
Height = 13
Alignment = taRightJustify
Caption = 'Status :'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object LabLastArrival: TsLabel
Left = 122
Top = 60
Width = 4
Height = 13
Caption = '-'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labLastDeparture: TsLabel
Left = 122
Top = 81
Width = 4
Height = 13
Caption = '-'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labLastStatus: TsLabel
Left = 122
Top = 101
Width = 4
Height = 13
Caption = '-'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labLastDays: TsLabel
Left = 187
Top = 60
Width = 4
Height = 13
Caption = '-'
end
end
end
object LMDSimplePanel1: TsPanel
Left = 0
Top = 0
Width = 617
Height = 165
Align = alTop
TabOrder = 2
SkinData.SkinSection = 'PANEL'
object gbxReservationsDates: TsGroupBox
Left = 7
Top = 6
Width = 299
Height = 147
Caption = 'Change dates'
TabOrder = 0
SkinData.SkinSection = 'GROUPBOX'
Checked = False
DesignSize = (
299
147)
object labArrival: TsLabel
Left = 64
Top = 25
Width = 38
Height = 13
Alignment = taRightJustify
Caption = 'Arrival :'
end
object labDeparture: TsLabel
Left = 46
Top = 51
Width = 56
Height = 13
Alignment = taRightJustify
Caption = 'Departure :'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labNights: TsLabel
Left = 65
Top = 78
Width = 37
Height = 13
Alignment = taRightJustify
Caption = 'Nights :'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labWeekDayFrom: TsLabel
Left = 208
Top = 25
Width = 4
Height = 13
Caption = '-'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labWeekDayTo: TsLabel
Left = 208
Top = 51
Width = 4
Height = 13
Caption = '-'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labErr: TsLabel
Left = 4
Top = 92
Width = 3
Height = 13
Color = clYellow
ParentColor = False
ParentFont = False
Transparent = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
end
object btnOK: TsButton
Left = 220
Top = 119
Width = 75
Height = 25
Anchors = [akTop, akRight]
Caption = 'OK'
ImageIndex = 82
Images = DImages.PngImageList1
ModalResult = 1
TabOrder = 0
OnClick = btnOKClick
SkinData.SkinSection = 'BUTTON'
end
object dtArrival: TsDateEdit
Left = 108
Top = 21
Width = 94
Height = 21
AutoSize = False
Color = clWhite
EditMask = '!99/99/9999;1; '
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
MaxLength = 10
ParentFont = False
TabOrder = 1
Text = ' - - '
OnChange = dtArrivalChange
CheckOnExit = True
SkinData.SkinSection = 'EDIT'
GlyphMode.Blend = 0
GlyphMode.Grayed = False
end
object dtDeparture: TsDateEdit
Left = 108
Top = 48
Width = 94
Height = 21
AutoSize = False
Color = clWhite
EditMask = '!99/99/9999;1; '
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
MaxLength = 10
ParentFont = False
TabOrder = 2
Text = ' - - '
OnChange = dtDepartureChange
OnDblClick = dtDepartureDblClick
CheckOnExit = True
SkinData.SkinSection = 'EDIT'
GlyphMode.Blend = 0
GlyphMode.Grayed = False
end
object edNightCount: TsSpinEdit
Left = 108
Top = 75
Width = 96
Height = 21
Color = clWhite
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 3
Text = '1'
OnChange = edNightCountChange
SkinData.SkinSection = 'EDIT'
MaxValue = 1000
MinValue = 1
Value = 1
end
end
object sGroupBox1: TsGroupBox
Left = 310
Top = 6
Width = 299
Height = 147
Caption = '.. or split reservation in two'
TabOrder = 1
SkinData.SkinSection = 'GROUPBOX'
Checked = False
DesignSize = (
299
147)
object Label1: TsLabel
Left = 62
Top = 24
Width = 40
Height = 13
Alignment = taRightJustify
Caption = 'Split at :'
end
object sLabel1: TsLabel
Left = 200
Top = 24
Width = 4
Height = 13
Caption = '-'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object sLabel2: TsLabel
Left = 108
Top = 45
Width = 152
Height = 13
Caption = 'First date in second reservation'
end
object labPart1: TsLabel
Left = 27
Top = 71
Width = 4
Height = 13
Caption = '-'
end
object labPart2: TsLabel
Left = 27
Top = 92
Width = 4
Height = 13
Caption = '-'
end
object sButton1: TsButton
Left = 221
Top = 119
Width = 75
Height = 25
Anchors = [akTop, akRight]
Caption = 'OK'
ImageIndex = 82
Images = DImages.PngImageList1
ModalResult = 1
TabOrder = 0
OnClick = sButton1Click
SkinData.SkinSection = 'BUTTON'
end
object dtSplitAt: TsDateEdit
Left = 108
Top = 21
Width = 86
Height = 21
AutoSize = False
Color = clWhite
EditMask = '!99/99/9999;1; '
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
MaxLength = 10
ParentFont = False
TabOrder = 1
Text = ' - - '
OnChange = dtSplitAtChange
CheckOnExit = True
SkinData.SkinSection = 'EDIT'
GlyphMode.Blend = 0
GlyphMode.Grayed = False
end
end
end
object sSkinProvider1: TsSkinProvider
AddedTitle.Font.Charset = DEFAULT_CHARSET
AddedTitle.Font.Color = clNone
AddedTitle.Font.Height = -11
AddedTitle.Font.Name = 'Tahoma'
AddedTitle.Font.Style = []
SkinData.SkinSection = 'FORM'
TitleButtons = <>
Left = 32
Top = 104
end
object Timer1: TTimer
Enabled = False
Interval = 10
OnTimer = Timer1Timer
Left = 168
Top = 168
end
end