ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/examples/employee/unit1.lfm
(Generate patch)

Comparing ibx/trunk/examples/employee/unit1.lfm (file contents):
Revision 62 by tony, Wed Apr 12 09:19:59 2017 UTC vs.
Revision 315 by tony, Thu Feb 25 11:56:36 2021 UTC

# Line 1 | Line 1
1   object Form1: TForm1
2 <  Left = 453
2 >  Left = 480
3    Height = 482
4 <  Top = 336
4 >  Top = 407
5    Width = 932
6    Caption = 'Employee List'
7    ClientHeight = 482
8    ClientWidth = 932
9 +  DefaultMonitor = dmPrimary
10    OnClose = FormClose
11    OnShow = FormShow
12 <  LCLVersion = '1.6.4.0'
12 >  Position = poMainFormCenter
13 >  LCLVersion = '2.0.5.0'
14    object Button1: TButton
15      Left = 845
16      Height = 25
# Line 38 | Line 40 | object Form1: TForm1
40    end
41    object Label1: TLabel
42      Left = 17
43 <    Height = 17
43 >    Height = 14
44      Top = 14
45 <    Width = 82
45 >    Width = 87
46      Caption = 'Started Before'
47      ParentColor = False
48    end
49    object BeforeDate: TDateEdit
50      Left = 112
51 <    Height = 27
51 >    Height = 24
52      Top = 8
53      Width = 80
54      CalendarDisplaySettings = [dsShowHeadings, dsShowDayNames]
# Line 59 | Line 61 | object Form1: TForm1
61    end
62    object Label2: TLabel
63      Left = 241
64 <    Height = 17
64 >    Height = 14
65      Top = 14
66 <    Width = 72
66 >    Width = 78
67      Caption = 'Started After'
68      ParentColor = False
69    end
70    object AfterDate: TDateEdit
71      Left = 333
72 <    Height = 27
72 >    Height = 24
73      Top = 8
74      Width = 80
75      CalendarDisplaySettings = [dsShowHeadings, dsShowDayNames]
# Line 225 | Line 227 | object Form1: TForm1
227          Left = 688
228          Height = 27
229          Top = 16
230 <        Width = 48
230 >        Width = 49
231          Alignment = taRightJustify
232          Anchors = [akTop, akLeft, akBottom]
233          DataField = 'TOTALSALARIES'
# Line 249 | Line 251 | object Form1: TForm1
251        Visible = False
252        object Label3: TLabel
253          Left = 0
254 <        Height = 17
254 >        Height = 14
255          Top = 7
256 <        Width = 77
256 >        Width = 83
257          Caption = 'Employee No.'
258          ParentColor = False
259        end
260        object DBEdit1: TDBEdit
261          Left = 90
262 <        Height = 27
262 >        Height = 24
263          Top = 2
264          Width = 120
265          DataField = 'EMP_NO'
# Line 268 | Line 270 | object Form1: TForm1
270        end
271        object Label4: TLabel
272          Left = 12
273 <        Height = 17
273 >        Height = 14
274          Top = 32
275 <        Width = 61
275 >        Width = 64
276          Caption = 'First Name'
277          ParentColor = False
278        end
279        object DBEdit2: TDBEdit
280          Left = 90
281 <        Height = 27
281 >        Height = 24
282          Top = 24
283          Width = 120
284          DataField = 'FIRST_NAME'
# Line 287 | Line 289 | object Form1: TForm1
289        end
290        object Label5: TLabel
291          Left = 12
292 <        Height = 17
292 >        Height = 14
293          Top = 56
294 <        Width = 60
294 >        Width = 64
295          Caption = 'Last Name'
296          ParentColor = False
297        end
298        object DBEdit3: TDBEdit
299          Left = 90
300 <        Height = 27
300 >        Height = 24
301          Top = 46
302          Width = 120
303          DataField = 'LAST_NAME'
# Line 306 | Line 308 | object Form1: TForm1
308        end
309        object Label6: TLabel
310          Left = 216
311 <        Height = 17
311 >        Height = 14
312          Top = 7
313 <        Width = 71
313 >        Width = 77
314          Caption = 'Date Started'
315          ParentColor = False
316        end
317        object IBDateEdit1: TDBDateEdit
318          Left = 300
319 <        Height = 27
319 >        Height = 24
320          Top = 2
321          Width = 104
322          CalendarDisplaySettings = [dsShowHeadings, dsShowDayNames]
# Line 329 | Line 331 | object Form1: TForm1
331        end
332        object Label7: TLabel
333          Left = 252
334 <        Height = 17
334 >        Height = 14
335          Top = 32
336 <        Width = 35
336 >        Width = 37
337          Caption = 'Salary'
338          ParentColor = False
339        end
340        object DBEdit4: TDBEdit
341          Left = 300
342 <        Height = 27
342 >        Height = 24
343          Top = 24
344          Width = 104
345          DataField = 'SALARY'
# Line 347 | Line 349 | object Form1: TForm1
349          TabOrder = 5
350        end
351        object Label8: TLabel
352 <        Left = 712
353 <        Height = 17
352 >        Left = 708
353 >        Height = 14
354          Top = 54
355 <        Width = 20
355 >        Width = 24
356          Anchors = [akTop, akRight]
357          Caption = 'Ext.'
358          ParentColor = False
359        end
360        object DBEdit5: TDBEdit
361          Left = 732
362 <        Height = 27
362 >        Height = 24
363          Top = 48
364          Width = 40
365          DataField = 'PHONE_EXT'
# Line 369 | Line 371 | object Form1: TForm1
371        end
372        object Label9: TLabel
373          Left = 536
374 <        Height = 17
374 >        Height = 14
375          Top = 7
376 <        Width = 47
376 >        Width = 51
377          Caption = 'Location'
378          ParentColor = False
379        end
380        object Label10: TLabel
381          Left = 413
382 <        Height = 17
382 >        Height = 14
383          Top = 9
384 <        Width = 55
384 >        Width = 59
385          Caption = 'Job Grade'
386          ParentColor = False
387        end
# Line 406 | Line 408 | object Form1: TForm1
408        end
409        object Label11: TLabel
410          Left = 536
411 <        Height = 17
411 >        Height = 14
412          Top = 32
413 <        Width = 44
413 >        Width = 48
414          Caption = 'Job Title'
415          ParentColor = False
416        end
417        object Label12: TLabel
418          Left = 256
419 <        Height = 17
419 >        Height = 14
420          Top = 54
421 <        Width = 30
421 >        Width = 33
422          Caption = 'Dept.'
423          ParentColor = False
424        end
# Line 430 | Line 432 | object Form1: TForm1
432        end
433        object DBEdit6: TDBEdit
434          Left = 300
435 <        Height = 27
435 >        Height = 24
436          Top = 48
437          Width = 372
438          DataField = 'DEPT_PATH'
# Line 485 | Line 487 | object Form1: TForm1
487    end
488    object Label13: TLabel
489      Left = 456
490 <    Height = 17
490 >    Height = 14
491      Top = 14
492 <    Width = 73
492 >    Width = 79
493      Caption = 'Salary Range'
494      ParentColor = False
495    end
496    object SalaryRange: TComboBox
497      Left = 544
498 <    Height = 27
498 >    Height = 25
499      Top = 8
500      Width = 272
501      ItemHeight = 0
# Line 585 | Line 587 | object Form1: TForm1
587      BeforeOpen = EmployeesBeforeOpen
588      BufferChunks = 1000
589      CachedUpdates = False
590 +    CaseSensitiveParameterNames = False
591 +    EnableStatistics = False
592      GenerateParamNames = False
593      GeneratorField.ApplyOnEvent = gaeOnNewRecord
594 +    MasterDetailDelay = 0
595      SQL.Strings = (
596        'Select sum(Salary) as TotalSalaries'
597        'From EMPLOYEE'
# Line 621 | Line 626 | object Form1: TForm1
626      AllowAutoActivateTransaction = False
627      Database = IBDatabase1
628      Transaction = IBTransaction1
629 +    ForcedRefresh = True
630      AfterDelete = EmployeesAfterDelete
631      AfterEdit = EmployeesAfterDelete
632      AfterInsert = EmployeesAfterInsert
633      AfterOpen = EmployeesAfterOpen
628    AfterPost = EmployeesAfterPost
634      AfterScroll = EmployeesAfterScroll
635      BeforeClose = EmployeesBeforeClose
636      BeforeOpen = EmployeesBeforeOpen
637      BufferChunks = 5000
638      CachedUpdates = False
639 +    CaseSensitiveParameterNames = True
640 +    EnableStatistics = False
641      DeleteSQL.Strings = (
642        'Delete From EMPLOYEE A'
643        'Where A.EMP_NO = :EMP_NO'
# Line 683 | Line 690 | object Form1: TForm1
690      GeneratorField.Field = 'EMP_NO'
691      GeneratorField.ApplyOnEvent = gaeOnNewRecord
692      GenerateParamNames = False
693 +    MasterDetailDelay = 0
694      DataSetCloseAction = dcSaveChanges
695      AfterTransactionEnd = EmployeesAfterTransactionEnd
696      OnValidatePost = EmployeesValidatePost
# Line 843 | Line 851 | object Form1: TForm1
851      BeforeOpen = CountriesBeforeOpen
852      BufferChunks = 1000
853      CachedUpdates = False
854 +    CaseSensitiveParameterNames = False
855 +    EnableStatistics = False
856      GenerateParamNames = False
857      GeneratorField.ApplyOnEvent = gaeOnNewRecord
858 +    MasterDetailDelay = 0
859      SQL.Strings = (
860        'Select A.COUNTRY, A.CURRENCY From COUNTRY A'
861        'JOIN JOB J On J.JOB_COUNTRY = A.COUNTRY'
# Line 889 | Line 900 | object Form1: TForm1
900      BeforeOpen = JobCodesBeforeOpen
901      BufferChunks = 1000
902      CachedUpdates = False
903 +    CaseSensitiveParameterNames = False
904 +    EnableStatistics = False
905      GenerateParamNames = False
906      GeneratorField.ApplyOnEvent = gaeOnNewRecord
907 +    MasterDetailDelay = 0
908      SQL.Strings = (
909        'Select A.JOB_CODE, A.JOB_TITLE From JOB A'
910        'Where JOB_COUNTRY = :JOB_COUNTRY and JOB_GRADE = :JOB_GRADE'
# Line 928 | Line 942 | object Form1: TForm1
942      Transaction = IBTransaction1
943      BufferChunks = 1000
944      CachedUpdates = False
945 +    CaseSensitiveParameterNames = False
946 +    EnableStatistics = False
947      GenerateParamNames = False
948      GeneratorField.ApplyOnEvent = gaeOnNewRecord
949 +    MasterDetailDelay = 0
950      SQL.Strings = (
951        'Select A.DEPT_NO, A.DEPARTMENT From DEPARTMENT A'
952        ''

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines