Changeset 128


Ignore:
Timestamp:
Apr 8, 2022, 9:43:55 PM (2 years ago)
Author:
chronos
Message:
  • Modified: Use Generics.Collection instead of fgl for better Delphi compatibility.
Location:
trunk
Files:
30 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormCompare.lfm

    r123 r128  
    11object FormCompare: TFormCompare
    22  Left = 574
    3   Height = 925
     3  Height = 888
    44  Top = 322
    5   Width = 1241
     5  Width = 1191
    66  Caption = 'Compare'
    7   ClientHeight = 890
    8   ClientWidth = 1241
    9   DesignTimePPI = 150
     7  ClientHeight = 854
     8  ClientWidth = 1191
     9  DesignTimePPI = 144
    1010  Menu = MainMenu1
    1111  OnActivate = FormActivate
     
    1818  object PanelLeft: TPanel
    1919    Left = 0
    20     Height = 890
     20    Height = 854
    2121    Top = 0
    22     Width = 608
     22    Width = 584
    2323    Align = alLeft
    2424    BevelOuter = bvNone
    25     ClientHeight = 890
    26     ClientWidth = 608
     25    ClientHeight = 854
     26    ClientWidth = 584
    2727    TabOrder = 0
    2828    object EditLeftFileName: TEdit
    29       Left = 16
    30       Height = 43
     29      Left = 15
     30      Height = 42
    3131      Top = 11
    32       Width = 544
     32      Width = 523
    3333      Anchors = [akTop, akLeft, akRight]
    3434      ReadOnly = True
     
    3636    end
    3737    inline SynEditLeft: TSynEditEx
    38       Left = 16
    39       Height = 813
    40       Top = 64
    41       Width = 585
     38      Left = 15
     39      Height = 781
     40      Top = 61
     41      Width = 562
    4242      Anchors = [akTop, akLeft, akRight, akBottom]
    43       Font.Height = 13
     43      Font.Height = 12
    4444      Font.Name = 'DejaVu Sans Mono'
    4545      Font.Pitch = fpFixed
     
    4848      ParentFont = False
    4949      TabOrder = 1
    50       Gutter.Width = 80
     50      Gutter.Width = 75
    5151      Gutter.MouseActions = <>
    5252      RightGutter.Width = 0
     
    499499      inline SynLeftGutterPartList1: TSynGutterPartList
    500500        object SynGutterMarks1: TSynGutterMarks
    501           Width = 38
     501          Width = 36
    502502          MouseActions = <>
    503503        end
    504504        object SynGutterLineNumber1: TSynGutterLineNumber
    505           Width = 17
     505          Width = 15
    506506          MouseActions = <>
    507507          MarkupInfo.Background = clBtnFace
     
    525525        end
    526526        object SynGutterCodeFolding1: TSynGutterCodeFolding
    527           Width = 16
     527          Width = 15
    528528          MouseActions = <>
    529529          MarkupInfo.Background = clNone
     
    535535    end
    536536    object SpeedButtonOpenLeft: TSpeedButton
    537       Left = 565
    538       Height = 34
    539       Top = 15
    540       Width = 36
     537      Left = 542
     538      Height = 33
     539      Top = 14
     540      Width = 35
    541541      Action = AFileOpenLeft
    542542      Anchors = [akTop, akRight]
     
    547547  end
    548548  object Splitter1: TSplitter
    549     Left = 608
    550     Height = 890
     549    Left = 584
     550    Height = 854
    551551    Top = 0
    552552    Width = 8
    553553  end
    554554  object PanelRight: TPanel
    555     Left = 616
    556     Height = 890
     555    Left = 592
     556    Height = 854
    557557    Top = 0
    558     Width = 625
     558    Width = 599
    559559    Align = alClient
    560560    BevelOuter = bvNone
    561     ClientHeight = 890
    562     ClientWidth = 625
     561    ClientHeight = 854
     562    ClientWidth = 599
    563563    TabOrder = 2
    564564    object EditRightFileName: TEdit
    565565      Left = 12
    566       Height = 43
     566      Height = 42
    567567      Top = 11
    568       Width = 551
     568      Width = 527
    569569      Anchors = [akTop, akLeft, akRight]
    570570      ReadOnly = True
     
    572572    end
    573573    inline SynEditRight: TSynEditEx
    574       Left = 16
    575       Height = 813
    576       Top = 64
    577       Width = 595
     574      Left = 15
     575      Height = 781
     576      Top = 61
     577      Width = 571
    578578      Anchors = [akTop, akLeft, akRight, akBottom]
    579       Font.Height = 13
     579      Font.Height = 12
    580580      Font.Name = 'DejaVu Sans Mono'
    581581      Font.Pitch = fpFixed
     
    584584      ParentFont = False
    585585      TabOrder = 1
    586       Gutter.Width = 80
     586      Gutter.Width = 75
    587587      Gutter.MouseActions = <>
    588588      RightGutter.Width = 0
     
    10351035      inline SynLeftGutterPartList1: TSynGutterPartList
    10361036        object SynGutterMarks1: TSynGutterMarks
    1037           Width = 38
     1037          Width = 36
    10381038          MouseActions = <>
    10391039        end
    10401040        object SynGutterLineNumber1: TSynGutterLineNumber
    1041           Width = 17
     1041          Width = 15
    10421042          MouseActions = <>
    10431043          MarkupInfo.Background = clBtnFace
     
    10611061        end
    10621062        object SynGutterCodeFolding1: TSynGutterCodeFolding
    1063           Width = 16
     1063          Width = 15
    10641064          MouseActions = <>
    10651065          MarkupInfo.Background = clNone
     
    10711071    end
    10721072    object SpeedButtonOpenRight: TSpeedButton
    1073       Left = 575
    1074       Height = 34
    1075       Top = 16
    1076       Width = 36
     1073      Left = 551
     1074      Height = 33
     1075      Top = 15
     1076      Width = 35
    10771077      Action = AFileOpenRight
    10781078      Anchors = [akTop, akRight]
     
    10831083  end
    10841084  object OpenDialogSide: TOpenDialog
    1085     Left = 336
    1086     Top = 360
     1085    Left = 323
     1086    Top = 346
    10871087  end
    10881088  object MainMenu1: TMainMenu
    10891089    Images = Core.ImageList1
    1090     Left = 344
    1091     Top = 496
     1090    Left = 330
     1091    Top = 476
    10921092    object MenuItem1: TMenuItem
    10931093      Caption = 'File'
     
    11121112  object ActionList1: TActionList
    11131113    Images = Core.ImageList1
    1114     Left = 764
    1115     Top = 360
     1114    Left = 733
     1115    Top = 346
    11161116    object AFileOpenLeft: TAction
    11171117      Caption = 'Open left file'
  • trunk/Forms/UFormContact.lfm

    r123 r128  
    11object FormContact: TFormContact
    22  Left = 1043
    3   Height = 769
     3  Height = 738
    44  Top = 446
    5   Width = 1033
     5  Width = 992
    66  Caption = 'Contact'
    7   ClientHeight = 769
    8   ClientWidth = 1033
    9   DesignTimePPI = 150
     7  ClientHeight = 738
     8  ClientWidth = 992
     9  DesignTimePPI = 144
    1010  OnClose = FormClose
    1111  OnCreate = FormCreate
     
    1414  LCLVersion = '2.2.0.4'
    1515  object ButtonCancel: TButton
    16     Left = 901
    17     Height = 39
    18     Top = 716
    19     Width = 120
     16    Left = 865
     17    Height = 37
     18    Top = 688
     19    Width = 115
    2020    Anchors = [akRight, akBottom]
    2121    Caption = 'Cancel'
     
    2525  end
    2626  object ButtonOk: TButton
    27     Left = 760
    28     Height = 39
    29     Top = 716
    30     Width = 124
     27    Left = 730
     28    Height = 37
     29    Top = 688
     30    Width = 119
    3131    Anchors = [akRight, akBottom]
    3232    Caption = 'OK'
     
    3737  object ButtonPrevious: TButton
    3838    Left = 8
    39     Height = 39
    40     Top = 716
    41     Width = 124
     39    Height = 37
     40    Top = 688
     41    Width = 119
    4242    Anchors = [akLeft, akBottom]
    4343    Caption = 'Previous'
     
    4848  end
    4949  object ButtonNext: TButton
    50     Left = 150
    51     Height = 39
    52     Top = 716
    53     Width = 120
     50    Left = 144
     51    Height = 37
     52    Top = 688
     53    Width = 115
    5454    Anchors = [akLeft, akBottom]
    5555    Caption = 'Next'
     
    6161  object PageControlContact: TPageControl
    6262    Left = 8
    63     Height = 692
     63    Height = 664
    6464    Top = 8
    65     Width = 1010
     65    Width = 970
    6666    ActivePage = TabSheetOthers
    6767    Anchors = [akTop, akLeft, akRight, akBottom]
     
    7171    object TabSheetGeneral: TTabSheet
    7272      Caption = 'General'
    73       ClientHeight = 651
    74       ClientWidth = 1000
     73      ClientHeight = 624
     74      ClientWidth = 960
    7575      OnHide = TabSheetGeneralHide
    7676      OnShow = TabSheetGeneralShow
    7777      ParentFont = False
    7878      object Label2: TLabel
    79         Left = 17
    80         Height = 27
    81         Top = 260
    82         Width = 66
     79        Left = 16
     80        Height = 26
     81        Top = 250
     82        Width = 63
    8383        Caption = 'Mobile:'
    8484        ParentFont = False
    8585      end
    8686      object EditMobile: TEdit
    87         Left = 150
    88         Height = 43
    89         Top = 250
    90         Width = 265
     87        Left = 144
     88        Height = 42
     89        Top = 240
     90        Width = 254
    9191        ParentFont = False
    9292        TabOrder = 3
    9393      end
    9494      object EditPhone: TEdit
    95         Left = 150
    96         Height = 43
    97         Top = 298
    98         Width = 265
     95        Left = 144
     96        Height = 42
     97        Top = 286
     98        Width = 254
    9999        ParentFont = False
    100100        TabOrder = 5
    101101      end
    102102      object Label3: TLabel
    103         Left = 17
    104         Height = 27
    105         Top = 302
    106         Width = 62
     103        Left = 16
     104        Height = 26
     105        Top = 290
     106        Width = 59
    107107        Caption = 'Phone:'
    108108        ParentFont = False
    109109      end
    110110      object EditEmail: TEdit
    111         Left = 150
    112         Height = 43
    113         Top = 342
    114         Width = 216
     111        Left = 144
     112        Height = 42
     113        Top = 328
     114        Width = 207
    115115        ParentFont = False
    116116        TabOrder = 7
    117117      end
    118118      object Label4: TLabel
    119         Left = 17
    120         Height = 27
    121         Top = 350
    122         Width = 60
     119        Left = 16
     120        Height = 26
     121        Top = 336
     122        Width = 58
    123123        Caption = 'E-mail:'
    124124        ParentFont = False
    125125      end
    126126      object EditBirthday: TEdit
    127         Left = 150
    128         Height = 43
    129         Top = 442
    130         Width = 216
     127        Left = 144
     128        Height = 42
     129        Top = 424
     130        Width = 207
    131131        ParentFont = False
    132132        TabOrder = 10
    133133      end
    134134      object Label22: TLabel
    135         Left = 17
    136         Height = 27
    137         Top = 450
    138         Width = 82
     135        Left = 16
     136        Height = 26
     137        Top = 432
     138        Width = 76
    139139        Caption = 'Birthday:'
    140140        ParentFont = False
    141141      end
    142142      object ImagePhoto: TImage
    143         Left = 17
    144         Height = 219
    145         Top = 17
    146         Width = 216
     143        Left = 16
     144        Height = 210
     145        Top = 16
     146        Width = 207
    147147        Center = True
    148148        OnClick = ImagePhotoClick
     
    152152      end
    153153      object Label24: TLabel
    154         Left = 250
    155         Height = 27
    156         Top = 33
    157         Width = 94
     154        Left = 240
     155        Height = 26
     156        Top = 32
     157        Width = 88
    158158        Caption = 'Full name:'
    159159        ParentFont = False
    160160      end
    161161      object EditFullName: TEdit
    162         Left = 375
    163         Height = 43
    164         Top = 25
    165         Width = 354
     162        Left = 360
     163        Height = 42
     164        Top = 24
     165        Width = 340
    166166        OnChange = EditFullNameChange
    167167        ParentFont = False
     
    169169      end
    170170      object Label44: TLabel
    171         Left = 250
    172         Height = 27
    173         Top = 88
     171        Left = 240
     172        Height = 26
     173        Top = 84
     174        Width = 91
     175        Caption = 'Nickname:'
     176        ParentFont = False
     177      end
     178      object EditNickName: TEdit
     179        Left = 361
     180        Height = 42
     181        Top = 77
     182        Width = 215
     183        ParentFont = False
     184        TabOrder = 2
     185      end
     186      object Label45: TLabel
     187        Left = 432
     188        Height = 26
     189        Top = 432
     190        Width = 105
     191        Caption = 'Anniversary:'
     192        ParentFont = False
     193      end
     194      object EditAniversary: TEdit
     195        Left = 575
     196        Height = 42
     197        Top = 424
     198        Width = 208
     199        ParentFont = False
     200        TabOrder = 11
     201      end
     202      object Label9: TLabel
     203        Left = 432
     204        Height = 26
     205        Top = 248
     206        Width = 34
     207        Caption = 'Fax:'
     208        ParentFont = False
     209      end
     210      object EditFax: TEdit
     211        Left = 575
     212        Height = 42
     213        Top = 240
     214        Width = 254
     215        ParentFont = False
     216        TabOrder = 4
     217      end
     218      object EditPager: TEdit
     219        Left = 575
     220        Height = 42
     221        Top = 286
     222        Width = 254
     223        ParentFont = False
     224        TabOrder = 6
     225      end
     226      object Label10: TLabel
     227        Left = 432
     228        Height = 26
     229        Top = 290
     230        Width = 54
     231        Caption = 'Pager:'
     232        ParentFont = False
     233      end
     234      object Label46: TLabel
     235        Left = 16
     236        Height = 26
     237        Top = 384
     238        Width = 114
     239        Caption = 'Web address:'
     240        ParentFont = False
     241      end
     242      object EditWeb: TEdit
     243        Left = 144
     244        Height = 42
     245        Top = 376
     246        Width = 639
     247        ParentFont = False
     248        TabOrder = 9
     249      end
     250      object Label49: TLabel
     251        Left = 432
     252        Height = 26
     253        Top = 332
     254        Width = 67
     255        Caption = 'Gender:'
     256        ParentFont = False
     257      end
     258      object EditGender: TEdit
     259        Left = 575
     260        Height = 42
     261        Top = 328
     262        Width = 254
     263        ParentFont = False
     264        TabOrder = 8
     265      end
     266      object Label56: TLabel
     267        Left = 16
     268        Height = 26
     269        Top = 480
    174270        Width = 95
    175         Caption = 'Nickname:'
    176         ParentFont = False
    177       end
    178       object EditNickName: TEdit
    179         Left = 376
    180         Height = 43
    181         Top = 80
    182         Width = 224
    183         ParentFont = False
    184         TabOrder = 2
    185       end
    186       object Label45: TLabel
    187         Left = 450
    188         Height = 27
    189         Top = 450
    190         Width = 113
    191         Caption = 'Anniversary:'
    192         ParentFont = False
    193       end
    194       object EditAniversary: TEdit
    195         Left = 599
    196         Height = 43
    197         Top = 442
    198         Width = 217
    199         ParentFont = False
    200         TabOrder = 11
    201       end
    202       object Label9: TLabel
    203         Left = 450
    204         Height = 27
    205         Top = 258
    206         Width = 36
    207         Caption = 'Fax:'
    208         ParentFont = False
    209       end
    210       object EditFax: TEdit
    211         Left = 599
    212         Height = 43
    213         Top = 250
    214         Width = 265
    215         ParentFont = False
    216         TabOrder = 4
    217       end
    218       object EditPager: TEdit
    219         Left = 599
    220         Height = 43
    221         Top = 298
    222         Width = 265
    223         ParentFont = False
    224         TabOrder = 6
    225       end
    226       object Label10: TLabel
    227         Left = 450
    228         Height = 27
    229         Top = 302
    230         Width = 58
    231         Caption = 'Pager:'
    232         ParentFont = False
    233       end
    234       object Label46: TLabel
    235         Left = 17
    236         Height = 27
    237         Top = 400
    238         Width = 121
    239         Caption = 'Web address:'
    240         ParentFont = False
    241       end
    242       object EditWeb: TEdit
    243         Left = 150
    244         Height = 43
    245         Top = 392
    246         Width = 666
    247         ParentFont = False
    248         TabOrder = 9
    249       end
    250       object Label49: TLabel
    251         Left = 450
    252         Height = 27
    253         Top = 346
    254         Width = 73
    255         Caption = 'Gender:'
    256         ParentFont = False
    257       end
    258       object EditGender: TEdit
    259         Left = 599
    260         Height = 43
    261         Top = 342
    262         Width = 265
    263         ParentFont = False
    264         TabOrder = 8
    265       end
    266       object Label56: TLabel
    267         Left = 17
    268         Height = 27
    269         Top = 500
    270         Width = 102
    271271        Caption = 'Categories:'
    272272        ParentFont = False
    273273      end
    274274      object EditCategories: TEdit
    275         Left = 150
    276         Height = 43
    277         Top = 492
    278         Width = 265
     275        Left = 144
     276        Height = 42
     277        Top = 472
     278        Width = 254
    279279        ParentFont = False
    280280        TabOrder = 12
    281281      end
    282282      object SpeedButtonWeb: TSpeedButton
    283         Left = 821
    284         Height = 43
     283        Left = 788
     284        Height = 41
    285285        Hint = 'Open in web browser'
    286         Top = 392
    287         Width = 43
     286        Top = 376
     287        Width = 41
    288288        Images = Core.ImageList1
    289289        ImageIndex = 15
     
    293293      end
    294294      object SpeedButtonEmail: TSpeedButton
    295         Left = 372
    296         Height = 43
     295        Left = 357
     296        Height = 41
    297297        Hint = 'Open in email client'
    298         Top = 342
    299         Width = 43
     298        Top = 328
     299        Width = 41
    300300        Images = Core.ImageList1
    301301        ImageIndex = 16
     
    305305      end
    306306      object SpeedButtonBirthDay: TSpeedButton
    307         Left = 372
    308         Height = 43
     307        Left = 357
     308        Height = 41
    309309        Hint = 'Select date'
    310         Top = 442
    311         Width = 43
     310        Top = 424
     311        Width = 41
    312312        Images = Core.ImageList1
    313313        ImageIndex = 17
     
    317317      end
    318318      object SpeedButtonAniversary: TSpeedButton
    319         Left = 821
    320         Height = 43
     319        Left = 788
     320        Height = 41
    321321        Hint = 'Select date'
    322         Top = 442
    323         Width = 43
     322        Top = 424
     323        Width = 41
    324324        Images = Core.ImageList1
    325325        ImageIndex = 17
     
    329329      end
    330330      object ButtonNameDetails: TButton
    331         Left = 735
    332         Height = 43
    333         Top = 25
    334         Width = 125
     331        Left = 706
     332        Height = 41
     333        Top = 24
     334        Width = 120
    335335        Caption = 'Details'
    336336        OnClick = ButtonNameDetailsClick
     
    340340    object TabSheetHome: TTabSheet
    341341      Caption = 'Home'
    342       ClientHeight = 651
    343       ClientWidth = 1000
     342      ClientHeight = 624
     343      ClientWidth = 960
    344344      OnHide = TabSheetHomeHide
    345345      OnShow = TabSheetHomeShow
    346346      ParentFont = False
    347347      object Label7: TLabel
    348         Left = 17
    349         Height = 27
    350         Top = 119
    351         Width = 60
     348        Left = 16
     349        Height = 26
     350        Top = 114
     351        Width = 58
    352352        Caption = 'E-mail:'
    353353        ParentFont = False
    354354      end
    355355      object EditHomeEmail: TEdit
    356         Left = 180
    357         Height = 43
    358         Top = 117
    359         Width = 216
     356        Left = 173
     357        Height = 42
     358        Top = 112
     359        Width = 207
    360360        ParentFont = False
    361361        TabOrder = 4
    362362      end
    363363      object Label11: TLabel
    364         Left = 467
    365         Height = 27
    366         Top = 19
    367         Width = 36
     364        Left = 448
     365        Height = 26
     366        Top = 18
     367        Width = 34
    368368        Caption = 'Fax:'
    369369        ParentFont = False
    370370      end
    371371      object EditHomeFax: TEdit
    372         Left = 630
    373         Height = 43
    374         Top = 17
    375         Width = 265
     372        Left = 605
     373        Height = 42
     374        Top = 16
     375        Width = 254
    376376        ParentFont = False
    377377        TabOrder = 1
    378378      end
    379379      object EditHomeMobile: TEdit
    380         Left = 180
    381         Height = 43
    382         Top = 63
    383         Width = 265
     380        Left = 173
     381        Height = 42
     382        Top = 60
     383        Width = 254
    384384        ParentFont = False
    385385        TabOrder = 2
    386386      end
    387387      object EditHomePhone: TEdit
    388         Left = 180
    389         Height = 43
    390         Top = 17
    391         Width = 265
     388        Left = 173
     389        Height = 42
     390        Top = 16
     391        Width = 254
    392392        ParentFont = False
    393393        TabOrder = 0
    394394      end
    395395      object Label14: TLabel
    396         Left = 467
    397         Height = 27
    398         Top = 71
    399         Width = 58
     396        Left = 448
     397        Height = 26
     398        Top = 68
     399        Width = 54
    400400        Caption = 'Pager:'
    401401        ParentFont = False
    402402      end
    403403      object EditHomePager: TEdit
    404         Left = 630
    405         Height = 43
    406         Top = 63
    407         Width = 265
     404        Left = 605
     405        Height = 42
     406        Top = 60
     407        Width = 254
    408408        ParentFont = False
    409409        TabOrder = 3
    410410      end
    411411      object Label40: TLabel
    412         Left = 17
    413         Height = 27
    414         Top = 175
    415         Width = 121
     412        Left = 16
     413        Height = 26
     414        Top = 168
     415        Width = 114
    416416        Caption = 'Web address:'
    417417        ParentFont = False
    418418      end
    419419      object EditHomeWeb: TEdit
    420         Left = 180
    421         Height = 43
    422         Top = 168
    423         Width = 668
     420        Left = 173
     421        Height = 42
     422        Top = 161
     423        Width = 641
    424424        ParentFont = False
    425425        TabOrder = 5
     
    427427      object GroupBox1: TGroupBox
    428428        Left = 10
    429         Height = 287
    430         Top = 225
    431         Width = 898
     429        Height = 276
     430        Top = 216
     431        Width = 862
    432432        Anchors = [akTop, akLeft, akRight]
    433433        Caption = 'Address'
    434         ClientHeight = 285
    435         ClientWidth = 896
     434        ClientHeight = 274
     435        ClientWidth = 860
    436436        TabOrder = 6
    437437        object Label36: TLabel
    438438          Left = 10
    439           Height = 27
    440           Top = 19
    441           Width = 58
     439          Height = 26
     440          Top = 18
     441          Width = 54
    442442          Caption = 'Street:'
    443443          ParentFont = False
     
    445445        object Label37: TLabel
    446446          Left = 10
    447           Height = 27
    448           Top = 69
    449           Width = 147
     447          Height = 26
     448          Top = 66
     449          Width = 137
    450450          Caption = 'Extended street:'
    451451          ParentFont = False
    452452        end
    453453        object EditHomeAddressStreetExtended: TEdit
    454           Left = 180
    455           Height = 43
    456           Top = 58
    457           Width = 265
     454          Left = 173
     455          Height = 42
     456          Top = 56
     457          Width = 254
    458458          ParentFont = False
    459459          TabOrder = 2
    460460        end
    461461        object EditHomeAddressStreet: TEdit
    462           Left = 180
    463           Height = 43
     462          Left = 173
     463          Height = 42
    464464          Top = 8
    465           Width = 265
     465          Width = 254
    466466          ParentFont = False
    467467          TabOrder = 0
     
    469469        object Label38: TLabel
    470470          Left = 10
    471           Height = 27
    472           Top = 117
    473           Width = 68
     471          Height = 26
     472          Top = 112
     473          Width = 64
    474474          Caption = 'Region:'
    475475          ParentFont = False
    476476        end
    477477        object EditHomeAddressRegion: TEdit
    478           Left = 180
    479           Height = 43
    480           Top = 108
    481           Width = 265
     478          Left = 173
     479          Height = 42
     480          Top = 104
     481          Width = 254
    482482          ParentFont = False
    483483          TabOrder = 4
    484484        end
    485485        object EditHomeAddressCountry: TEdit
    486           Left = 180
    487           Height = 43
    488           Top = 158
    489           Width = 265
     486          Left = 173
     487          Height = 42
     488          Top = 152
     489          Width = 254
    490490          ParentFont = False
    491491          TabOrder = 5
     
    493493        object Label39: TLabel
    494494          Left = 10
    495           Height = 27
    496           Top = 167
    497           Width = 77
     495          Height = 26
     496          Top = 160
     497          Width = 71
    498498          Caption = 'Country:'
    499499          ParentFont = False
    500500        end
    501501        object Label41: TLabel
    502           Left = 470
    503           Height = 27
    504           Top = 167
    505           Width = 107
     502          Left = 451
     503          Height = 26
     504          Top = 160
     505          Width = 103
    506506          Caption = 'Postal code:'
    507507          ParentFont = False
    508508        end
    509509        object EditHomeAddressPostalCode: TEdit
    510           Left = 612
    511           Height = 43
    512           Top = 158
    513           Width = 265
     510          Left = 588
     511          Height = 42
     512          Top = 152
     513          Width = 254
    514514          ParentFont = False
    515515          TabOrder = 6
    516516        end
    517517        object EditHomeAddressCity: TEdit
    518           Left = 612
    519           Height = 43
    520           Top = 58
    521           Width = 265
     518          Left = 588
     519          Height = 42
     520          Top = 56
     521          Width = 254
    522522          ParentFont = False
    523523          TabOrder = 3
    524524        end
    525525        object Label42: TLabel
    526           Left = 470
    527           Height = 27
    528           Top = 67
    529           Width = 39
     526          Left = 451
     527          Height = 26
     528          Top = 64
     529          Width = 36
    530530          Caption = 'City:'
    531531          ParentFont = False
    532532        end
    533533        object Label43: TLabel
    534           Left = 470
    535           Height = 27
    536           Top = 17
    537           Width = 135
     534          Left = 451
     535          Height = 26
     536          Top = 16
     537          Width = 131
    538538          Caption = 'Post office box:'
    539539          ParentFont = False
    540540        end
    541541        object EditHomeAddressPostOfficeBox: TEdit
    542           Left = 612
    543           Height = 43
     542          Left = 588
     543          Height = 42
    544544          Top = 8
    545           Width = 265
     545          Width = 254
    546546          ParentFont = False
    547547          TabOrder = 1
     
    549549        object ButtonHomeAddressShow: TButton
    550550          Left = 10
    551           Height = 39
    552           Top = 208
    553           Width = 182
     551          Height = 37
     552          Top = 200
     553          Width = 175
    554554          Caption = 'Show on map'
    555555          OnClick = ButtonHomeAddressShowClick
     
    558558      end
    559559      object Label12: TLabel
    560         Left = 17
    561         Height = 27
    562         Top = 67
    563         Width = 66
     560        Left = 16
     561        Height = 26
     562        Top = 64
     563        Width = 63
    564564        Caption = 'Mobile:'
    565565        ParentFont = False
    566566      end
    567567      object Label13: TLabel
    568         Left = 17
    569         Height = 27
    570         Top = 21
    571         Width = 62
     568        Left = 16
     569        Height = 26
     570        Top = 20
     571        Width = 59
    572572        Caption = 'Phone:'
    573573        ParentFont = False
    574574      end
    575575      object SpeedButtonHomeWeb: TSpeedButton
    576         Left = 852
    577         Height = 43
     576        Left = 818
     577        Height = 41
    578578        Hint = 'Open in web browser'
    579         Top = 167
    580         Width = 43
     579        Top = 160
     580        Width = 41
    581581        Images = Core.ImageList1
    582582        ImageIndex = 15
     
    586586      end
    587587      object SpeedButtonHomeEmail: TSpeedButton
    588         Left = 402
    589         Height = 43
     588        Left = 386
     589        Height = 41
    590590        Hint = 'Open in email client'
    591         Top = 117
    592         Width = 43
     591        Top = 112
     592        Width = 41
    593593        Images = Core.ImageList1
    594594        ImageIndex = 16
     
    600600    object TabSheetWork: TTabSheet
    601601      Caption = 'Work'
    602       ClientHeight = 651
    603       ClientWidth = 1000
     602      ClientHeight = 624
     603      ClientWidth = 960
    604604      OnHide = TabSheetWorkHide
    605605      OnShow = TabSheetWorkShow
    606606      object EditOrganization: TEdit
    607         Left = 180
    608         Height = 43
    609         Top = 67
    610         Width = 265
     607        Left = 173
     608        Height = 42
     609        Top = 64
     610        Width = 254
    611611        ParentFont = False
    612612        TabOrder = 2
     
    614614      object LabelOrganization: TLabel
    615615        Left = 10
    616         Height = 27
    617         Top = 73
    618         Width = 123
     616        Height = 26
     617        Top = 70
     618        Width = 114
    619619        Caption = 'Organization:'
    620620        ParentFont = False
    621621      end
    622622      object LabelOrganization1: TLabel
    623         Left = 470
    624         Height = 27
    625         Top = 25
    626         Width = 116
     623        Left = 451
     624        Height = 26
     625        Top = 24
     626        Width = 106
    627627        Caption = 'Department:'
    628628        ParentFont = False
    629629      end
    630630      object EditDepartment: TEdit
    631         Left = 633
    632         Height = 43
    633         Top = 21
    634         Width = 265
     631        Left = 608
     632        Height = 42
     633        Top = 20
     634        Width = 254
    635635        ParentFont = False
    636636        TabOrder = 1
     
    638638      object Label18: TLabel
    639639        Left = 10
    640         Height = 27
    641         Top = 21
    642         Width = 43
     640        Height = 26
     641        Top = 20
     642        Width = 41
    643643        Caption = 'Title:'
    644644        ParentFont = False
    645645      end
    646646      object EditTitle: TEdit
    647         Left = 180
    648         Height = 43
    649         Top = 17
    650         Width = 265
     647        Left = 173
     648        Height = 42
     649        Top = 16
     650        Width = 254
    651651        ParentFont = False
    652652        TabOrder = 0
    653653      end
    654654      object EditWorkWeb: TEdit
    655         Left = 180
    656         Height = 43
    657         Top = 267
    658         Width = 668
     655        Left = 173
     656        Height = 42
     657        Top = 256
     658        Width = 641
    659659        ParentFont = False
    660660        TabOrder = 8
     
    662662      object Label32: TLabel
    663663        Left = 10
    664         Height = 27
    665         Top = 275
    666         Width = 121
     664        Height = 26
     665        Top = 264
     666        Width = 114
    667667        Caption = 'Web address:'
    668668        ParentFont = False
     
    670670      object GroupBox2: TGroupBox
    671671        Left = 8
    672         Height = 283
    673         Top = 325
    674         Width = 920
     672        Height = 272
     673        Top = 312
     674        Width = 883
    675675        Caption = 'Address'
    676         ClientHeight = 281
    677         ClientWidth = 918
     676        ClientHeight = 270
     677        ClientWidth = 881
    678678        TabOrder = 9
    679679        object Label31: TLabel
    680680          Left = 10
    681           Height = 27
    682           Top = 167
    683           Width = 77
     681          Height = 26
     682          Top = 160
     683          Width = 71
    684684          Caption = 'Country:'
    685685          ParentFont = False
    686686        end
    687687        object EditWorkAddressCountry: TEdit
    688           Left = 180
    689           Height = 43
    690           Top = 158
    691           Width = 265
     688          Left = 173
     689          Height = 42
     690          Top = 152
     691          Width = 254
    692692          ParentFont = False
    693693          TabOrder = 5
    694694        end
    695695        object EditWorkAddressRegion: TEdit
    696           Left = 180
    697           Height = 43
    698           Top = 108
    699           Width = 265
     696          Left = 173
     697          Height = 42
     698          Top = 104
     699          Width = 254
    700700          ParentFont = False
    701701          TabOrder = 4
     
    703703        object Label30: TLabel
    704704          Left = 10
    705           Height = 27
    706           Top = 117
    707           Width = 68
     705          Height = 26
     706          Top = 112
     707          Width = 64
    708708          Caption = 'Region:'
    709709          ParentFont = False
     
    711711        object Label35: TLabel
    712712          Left = 10
    713           Height = 27
    714           Top = 67
    715           Width = 147
     713          Height = 26
     714          Top = 64
     715          Width = 137
    716716          Caption = 'Extended street:'
    717717          ParentFont = False
    718718        end
    719719        object EditWorkAddressStreetExtended: TEdit
    720           Left = 180
    721           Height = 43
    722           Top = 58
    723           Width = 265
     720          Left = 173
     721          Height = 42
     722          Top = 56
     723          Width = 254
    724724          ParentFont = False
    725725          TabOrder = 2
     
    727727        object Label28: TLabel
    728728          Left = 10
    729           Height = 27
    730           Top = 19
    731           Width = 58
     729          Height = 26
     730          Top = 18
     731          Width = 54
    732732          Caption = 'Street:'
    733733          ParentFont = False
    734734        end
    735735        object EditWorkAddressStreet: TEdit
    736           Left = 180
    737           Height = 43
     736          Left = 173
     737          Height = 42
    738738          Top = 8
    739           Width = 265
     739          Width = 254
    740740          ParentFont = False
    741741          TabOrder = 0
    742742        end
    743743        object Label34: TLabel
    744           Left = 470
    745           Height = 27
    746           Top = 19
    747           Width = 135
     744          Left = 451
     745          Height = 26
     746          Top = 18
     747          Width = 131
    748748          Caption = 'Post office box:'
    749749          ParentFont = False
    750750        end
    751751        object EditWorkAddressPostOfficeBox: TEdit
    752           Left = 633
    753           Height = 43
     752          Left = 608
     753          Height = 42
    754754          Top = 8
    755           Width = 265
     755          Width = 254
    756756          ParentFont = False
    757757          TabOrder = 1
    758758        end
    759759        object EditWorkAddressCity: TEdit
    760           Left = 633
    761           Height = 43
    762           Top = 58
    763           Width = 265
     760          Left = 608
     761          Height = 42
     762          Top = 56
     763          Width = 254
    764764          ParentFont = False
    765765          TabOrder = 3
    766766        end
    767767        object Label29: TLabel
    768           Left = 470
    769           Height = 27
    770           Top = 67
    771           Width = 39
     768          Left = 451
     769          Height = 26
     770          Top = 64
     771          Width = 36
    772772          Caption = 'City:'
    773773          ParentFont = False
    774774        end
    775775        object EditWorkAddressPostalCode: TEdit
    776           Left = 633
    777           Height = 43
    778           Top = 148
    779           Width = 265
     776          Left = 608
     777          Height = 42
     778          Top = 142
     779          Width = 254
    780780          ParentFont = False
    781781          TabOrder = 6
    782782        end
    783783        object Label33: TLabel
    784           Left = 470
    785           Height = 27
    786           Top = 156
    787           Width = 107
     784          Left = 451
     785          Height = 26
     786          Top = 150
     787          Width = 103
    788788          Caption = 'Postal code:'
    789789          ParentFont = False
     
    791791        object ButtonWorkAddressShow: TButton
    792792          Left = 10
    793           Height = 39
    794           Top = 208
    795           Width = 182
     793          Height = 37
     794          Top = 200
     795          Width = 175
    796796          Caption = 'Show on map'
    797797          OnClick = ButtonWorkAddressShowClick
     
    801801      object Label15: TLabel
    802802        Left = 10
    803         Height = 27
    804         Top = 121
    805         Width = 62
     803        Height = 26
     804        Top = 116
     805        Width = 59
    806806        Caption = 'Phone:'
    807807        ParentFont = False
    808808      end
    809809      object EditWorkPhone: TEdit
    810         Left = 180
    811         Height = 43
    812         Top = 117
    813         Width = 265
     810        Left = 173
     811        Height = 42
     812        Top = 112
     813        Width = 254
    814814        ParentFont = False
    815815        TabOrder = 3
    816816      end
    817817      object Label16: TLabel
    818         Left = 470
    819         Height = 27
    820         Top = 117
    821         Width = 36
     818        Left = 451
     819        Height = 26
     820        Top = 112
     821        Width = 34
    822822        Caption = 'Fax:'
    823823        ParentFont = False
    824824      end
    825825      object EditWorkFax: TEdit
    826         Left = 633
    827         Height = 43
    828         Top = 117
    829         Width = 265
     826        Left = 608
     827        Height = 42
     828        Top = 112
     829        Width = 254
    830830        ParentFont = False
    831831        TabOrder = 4
    832832      end
    833833      object EditWorkPager: TEdit
    834         Left = 633
    835         Height = 43
    836         Top = 162
    837         Width = 265
     834        Left = 608
     835        Height = 42
     836        Top = 156
     837        Width = 254
    838838        ParentFont = False
    839839        TabOrder = 6
    840840      end
    841841      object Label17: TLabel
    842         Left = 467
    843         Height = 27
    844         Top = 167
     842        Left = 448
     843        Height = 26
     844        Top = 160
     845        Width = 54
     846        Caption = 'Pager:'
     847        ParentFont = False
     848      end
     849      object EditWorkMobile: TEdit
     850        Left = 173
     851        Height = 42
     852        Top = 160
     853        Width = 254
     854        ParentFont = False
     855        TabOrder = 5
     856      end
     857      object Label19: TLabel
     858        Left = 10
     859        Height = 26
     860        Top = 160
     861        Width = 63
     862        Caption = 'Mobile:'
     863        ParentFont = False
     864      end
     865      object Label8: TLabel
     866        Left = 10
     867        Height = 26
     868        Top = 210
    845869        Width = 58
    846         Caption = 'Pager:'
    847         ParentFont = False
    848       end
    849       object EditWorkMobile: TEdit
    850         Left = 180
    851         Height = 43
    852         Top = 167
    853         Width = 265
    854         ParentFont = False
    855         TabOrder = 5
    856       end
    857       object Label19: TLabel
    858         Left = 10
    859         Height = 27
    860         Top = 167
    861         Width = 66
    862         Caption = 'Mobile:'
    863         ParentFont = False
    864       end
    865       object Label8: TLabel
    866         Left = 10
    867         Height = 27
    868         Top = 219
    869         Width = 60
    870870        Caption = 'E-mail:'
    871871        ParentFont = False
    872872      end
    873873      object EditWorkEmail: TEdit
    874         Left = 180
    875         Height = 43
    876         Top = 219
    877         Width = 218
     874        Left = 173
     875        Height = 42
     876        Top = 210
     877        Width = 209
    878878        ParentFont = False
    879879        TabOrder = 7
    880880      end
    881881      object SpeedButtonWorkWeb: TSpeedButton
    882         Left = 855
    883         Height = 43
     882        Left = 821
     883        Height = 41
    884884        Hint = 'Open in web browser'
    885         Top = 267
    886         Width = 43
     885        Top = 256
     886        Width = 41
    887887        Images = Core.ImageList1
    888888        ImageIndex = 15
     
    892892      end
    893893      object SpeedButtonWorkEmail: TSpeedButton
    894         Left = 402
    895         Height = 43
     894        Left = 386
     895        Height = 41
    896896        Hint = 'Open in email client'
    897         Top = 219
    898         Width = 43
     897        Top = 210
     898        Width = 41
    899899        Images = Core.ImageList1
    900900        ImageIndex = 16
     
    906906    object TabSheetChat: TTabSheet
    907907      Caption = 'Chat'
    908       ClientHeight = 651
    909       ClientWidth = 1000
     908      ClientHeight = 624
     909      ClientWidth = 960
    910910      OnHide = TabSheetChatHide
    911911      OnShow = TabSheetChatShow
    912912      object Label20: TLabel
    913913        Left = 10
    914         Height = 27
    915         Top = 25
    916         Width = 64
     914        Height = 26
     915        Top = 24
     916        Width = 59
    917917        Caption = 'Jabber:'
    918918        ParentFont = False
    919919      end
    920920      object EditJabber: TEdit
    921         Left = 180
    922         Height = 43
    923         Top = 17
    924         Width = 265
     921        Left = 173
     922        Height = 42
     923        Top = 16
     924        Width = 254
    925925        ParentFont = False
    926926        TabOrder = 0
     
    928928      object LabelOrganization2: TLabel
    929929        Left = 10
    930         Height = 27
    931         Top = 275
    932         Width = 58
     930        Height = 26
     931        Top = 264
     932        Width = 55
    933933        Caption = 'Skype:'
    934934        ParentFont = False
    935935      end
    936936      object EditSkype: TEdit
    937         Left = 180
    938         Height = 43
    939         Top = 267
    940         Width = 265
     937        Left = 173
     938        Height = 42
     939        Top = 256
     940        Width = 254
    941941        ParentFont = False
    942942        TabOrder = 10
     
    944944      object Label21: TLabel
    945945        Left = 10
    946         Height = 27
    947         Top = 75
    948         Width = 46
     946        Height = 26
     947        Top = 72
     948        Width = 45
    949949        Caption = 'MSN:'
    950950        ParentFont = False
    951951      end
    952952      object EditMsn: TEdit
    953         Left = 180
    954         Height = 43
    955         Top = 67
    956         Width = 265
     953        Left = 173
     954        Height = 42
     955        Top = 64
     956        Width = 254
    957957        ParentFont = False
    958958        TabOrder = 2
    959959      end
    960960      object LabelOrganization3: TLabel
    961         Left = 470
    962         Height = 27
    963         Top = 75
    964         Width = 37
     961        Left = 451
     962        Height = 26
     963        Top = 72
     964        Width = 36
    965965        Caption = 'ICQ:'
    966966        ParentFont = False
    967967      end
    968968      object EditIcq: TEdit
    969         Left = 633
    970         Height = 43
    971         Top = 71
    972         Width = 265
     969        Left = 608
     970        Height = 42
     971        Top = 68
     972        Width = 254
    973973        ParentFont = False
    974974        TabOrder = 3
     
    976976      object Label23: TLabel
    977977        Left = 10
    978         Height = 27
    979         Top = 125
    980         Width = 35
     978        Height = 26
     979        Top = 120
     980        Width = 33
    981981        Caption = 'IRC:'
    982982        ParentFont = False
    983983      end
    984984      object EditIrc: TEdit
    985         Left = 180
    986         Height = 43
    987         Top = 117
    988         Width = 265
     985        Left = 173
     986        Height = 42
     987        Top = 112
     988        Width = 254
    989989        ParentFont = False
    990990        TabOrder = 4
    991991      end
    992992      object LabelOrganization4: TLabel
    993         Left = 470
    994         Height = 27
    995         Top = 125
    996         Width = 40
     993        Left = 451
     994        Height = 26
     995        Top = 120
     996        Width = 39
    997997        Caption = 'AIM:'
    998998        ParentFont = False
    999999      end
    10001000      object EditAim: TEdit
    1001         Left = 633
    1002         Height = 43
    1003         Top = 121
    1004         Width = 265
     1001        Left = 608
     1002        Height = 42
     1003        Top = 116
     1004        Width = 254
    10051005        ParentFont = False
    10061006        TabOrder = 5
     
    10081008      object Label47: TLabel
    10091009        Left = 10
    1010         Height = 27
    1011         Top = 175
    1012         Width = 109
     1010        Height = 26
     1011        Top = 168
     1012        Width = 105
    10131013        Caption = 'Google Talk:'
    10141014        ParentFont = False
    10151015      end
    10161016      object EditGoogleTalk: TEdit
    1017         Left = 180
    1018         Height = 43
    1019         Top = 167
    1020         Width = 265
     1017        Left = 173
     1018        Height = 42
     1019        Top = 160
     1020        Width = 254
    10211021        ParentFont = False
    10221022        TabOrder = 6
    10231023      end
    10241024      object LabelOrganization5: TLabel
    1025         Left = 470
    1026         Height = 27
    1027         Top = 175
    1028         Width = 65
     1025        Left = 451
     1026        Height = 26
     1027        Top = 168
     1028        Width = 62
    10291029        Caption = 'Yahoo!:'
    10301030        ParentFont = False
    10311031      end
    10321032      object EditYahoo: TEdit
    1033         Left = 633
    1034         Height = 43
    1035         Top = 171
    1036         Width = 265
     1033        Left = 608
     1034        Height = 42
     1035        Top = 164
     1036        Width = 254
    10371037        ParentFont = False
    10381038        TabOrder = 7
     
    10401040      object Label48: TLabel
    10411041        Left = 10
    1042         Height = 27
    1043         Top = 225
    1044         Width = 127
     1042        Height = 26
     1043        Top = 216
     1044        Width = 121
    10451045        Caption = 'Windows Live:'
    10461046        ParentFont = False
    10471047      end
    10481048      object EditWindowsLive: TEdit
    1049         Left = 180
    1050         Height = 43
    1051         Top = 217
    1052         Width = 265
     1049        Left = 173
     1050        Height = 42
     1051        Top = 208
     1052        Width = 254
    10531053        ParentFont = False
    10541054        TabOrder = 8
    10551055      end
    10561056      object LabelOrganization6: TLabel
    1057         Left = 470
    1058         Height = 27
    1059         Top = 225
    1060         Width = 35
     1057        Left = 451
     1058        Height = 26
     1059        Top = 216
     1060        Width = 33
    10611061        Caption = 'QQ:'
    10621062        ParentFont = False
    10631063      end
    10641064      object EditQq: TEdit
    1065         Left = 633
    1066         Height = 43
    1067         Top = 221
    1068         Width = 265
     1065        Left = 608
     1066        Height = 42
     1067        Top = 212
     1068        Width = 254
    10691069        ParentFont = False
    10701070        TabOrder = 9
    10711071      end
    10721072      object Label55: TLabel
    1073         Left = 470
    1074         Height = 27
    1075         Top = 25
    1076         Width = 63
     1073        Left = 451
     1074        Height = 26
     1075        Top = 24
     1076        Width = 59
    10771077        Caption = 'Matrix:'
    10781078        ParentFont = False
    10791079      end
    10801080      object EditMatrix: TEdit
    1081         Left = 633
    1082         Height = 43
    1083         Top = 21
    1084         Width = 265
     1081        Left = 608
     1082        Height = 42
     1083        Top = 20
     1084        Width = 254
    10851085        ParentFont = False
    10861086        TabOrder = 1
     
    10881088      object Label57: TLabel
    10891089        Left = 10
    1090         Height = 27
    1091         Top = 325
    1092         Width = 103
     1090        Height = 26
     1091        Top = 312
     1092        Width = 99
    10931093        Caption = 'GroupWise:'
    10941094        ParentFont = False
    10951095      end
    10961096      object EditGroupWise: TEdit
    1097         Left = 180
    1098         Height = 43
    1099         Top = 317
    1100         Width = 265
     1097        Left = 173
     1098        Height = 42
     1099        Top = 304
     1100        Width = 254
    11011101        ParentFont = False
    11021102        TabOrder = 11
    11031103      end
    11041104      object LabelOrganization12: TLabel
    1105         Left = 470
    1106         Height = 27
    1107         Top = 325
    1108         Width = 103
     1105        Left = 451
     1106        Height = 26
     1107        Top = 312
     1108        Width = 95
    11091109        Caption = 'GaduGadu:'
    11101110        ParentFont = False
    11111111      end
    11121112      object EditGaduGadu: TEdit
    1113         Left = 633
    1114         Height = 43
    1115         Top = 321
    1116         Width = 265
     1113        Left = 608
     1114        Height = 42
     1115        Top = 308
     1116        Width = 254
    11171117        ParentFont = False
    11181118        TabOrder = 12
     
    11211121    object TabSheetSocial: TTabSheet
    11221122      Caption = 'Social'
    1123       ClientHeight = 651
    1124       ClientWidth = 1000
     1123      ClientHeight = 624
     1124      ClientWidth = 960
    11251125      OnHide = TabSheetSocialHide
    11261126      OnShow = TabSheetSocialShow
    11271127      object Label50: TLabel
    1128         Left = 470
    1129         Height = 27
    1130         Top = 171
     1128        Left = 451
     1129        Height = 26
     1130        Top = 164
     1131        Width = 79
     1132        Caption = 'Myspace:'
     1133        ParentFont = False
     1134      end
     1135      object EditMySpace: TEdit
     1136        Left = 608
     1137        Height = 42
     1138        Top = 160
     1139        Width = 254
     1140        ParentFont = False
     1141        TabOrder = 7
     1142      end
     1143      object EditTwitter: TEdit
     1144        Left = 173
     1145        Height = 42
     1146        Top = 64
     1147        Width = 254
     1148        ParentFont = False
     1149        TabOrder = 2
     1150      end
     1151      object Label51: TLabel
     1152        Left = 10
     1153        Height = 26
     1154        Top = 68
     1155        Width = 63
     1156        Caption = 'Twitter:'
     1157        ParentFont = False
     1158      end
     1159      object Label52: TLabel
     1160        Left = 10
     1161        Height = 26
     1162        Top = 116
     1163        Width = 92
     1164        Caption = 'Instagram:'
     1165        ParentFont = False
     1166      end
     1167      object Label53: TLabel
     1168        Left = 10
     1169        Height = 26
     1170        Top = 164
     1171        Width = 78
     1172        Caption = 'LinkedIn:'
     1173        ParentFont = False
     1174      end
     1175      object Label54: TLabel
     1176        Left = 10
     1177        Height = 26
     1178        Top = 212
     1179        Width = 83
     1180        Caption = 'Snapchat:'
     1181        ParentFont = False
     1182      end
     1183      object EditSnapchat: TEdit
     1184        Left = 173
     1185        Height = 42
     1186        Top = 208
     1187        Width = 254
     1188        ParentFont = False
     1189        TabOrder = 8
     1190      end
     1191      object EditLinkedIn: TEdit
     1192        Left = 173
     1193        Height = 42
     1194        Top = 160
     1195        Width = 254
     1196        ParentFont = False
     1197        TabOrder = 6
     1198      end
     1199      object EditInstagram: TEdit
     1200        Left = 173
     1201        Height = 42
     1202        Top = 112
     1203        Width = 254
     1204        ParentFont = False
     1205        TabOrder = 4
     1206      end
     1207      object LabelOrganization7: TLabel
     1208        Left = 451
     1209        Height = 26
     1210        Top = 24
    11311211        Width = 84
    1132         Caption = 'Myspace:'
    1133         ParentFont = False
    1134       end
    1135       object EditMySpace: TEdit
    1136         Left = 633
    1137         Height = 43
    1138         Top = 167
    1139         Width = 265
    1140         ParentFont = False
    1141         TabOrder = 7
    1142       end
    1143       object EditTwitter: TEdit
    1144         Left = 180
    1145         Height = 43
    1146         Top = 67
    1147         Width = 265
    1148         ParentFont = False
    1149         TabOrder = 2
    1150       end
    1151       object Label51: TLabel
    1152         Left = 10
    1153         Height = 27
    1154         Top = 71
    1155         Width = 68
    1156         Caption = 'Twitter:'
    1157         ParentFont = False
    1158       end
    1159       object Label52: TLabel
    1160         Left = 10
    1161         Height = 27
    1162         Top = 121
    1163         Width = 98
    1164         Caption = 'Instagram:'
    1165         ParentFont = False
    1166       end
    1167       object Label53: TLabel
    1168         Left = 10
    1169         Height = 27
    1170         Top = 171
    1171         Width = 83
    1172         Caption = 'LinkedIn:'
    1173         ParentFont = False
    1174       end
    1175       object Label54: TLabel
    1176         Left = 10
    1177         Height = 27
    1178         Top = 221
    1179         Width = 89
    1180         Caption = 'Snapchat:'
    1181         ParentFont = False
    1182       end
    1183       object EditSnapchat: TEdit
    1184         Left = 180
    1185         Height = 43
    1186         Top = 217
    1187         Width = 265
    1188         ParentFont = False
    1189         TabOrder = 8
    1190       end
    1191       object EditLinkedIn: TEdit
    1192         Left = 180
    1193         Height = 43
    1194         Top = 167
    1195         Width = 265
    1196         ParentFont = False
    1197         TabOrder = 6
    1198       end
    1199       object EditInstagram: TEdit
    1200         Left = 180
    1201         Height = 43
    1202         Top = 117
    1203         Width = 265
    1204         ParentFont = False
    1205         TabOrder = 4
    1206       end
    1207       object LabelOrganization7: TLabel
    1208         Left = 470
    1209         Height = 27
    1210         Top = 25
     1212        Caption = 'PeerTube:'
     1213        ParentFont = False
     1214      end
     1215      object LabelOrganization8: TLabel
     1216        Left = 451
     1217        Height = 26
     1218        Top = 116
     1219        Width = 77
     1220        Caption = 'YouTube:'
     1221        ParentFont = False
     1222      end
     1223      object EditMastodon: TEdit
     1224        Left = 171
     1225        Height = 42
     1226        Top = 16
     1227        Width = 254
     1228        ParentFont = False
     1229        TabOrder = 0
     1230      end
     1231      object LabelOrganization9: TLabel
     1232        Left = 10
     1233        Height = 26
     1234        Top = 24
    12111235        Width = 90
    1212         Caption = 'PeerTube:'
    1213         ParentFont = False
    1214       end
    1215       object LabelOrganization8: TLabel
    1216         Left = 470
    1217         Height = 27
    1218         Top = 121
    1219         Width = 82
    1220         Caption = 'YouTube:'
    1221         ParentFont = False
    1222       end
    1223       object EditMastodon: TEdit
    1224         Left = 178
    1225         Height = 43
    1226         Top = 17
    1227         Width = 265
    1228         ParentFont = False
    1229         TabOrder = 0
    1230       end
    1231       object LabelOrganization9: TLabel
    1232         Left = 10
    1233         Height = 27
    1234         Top = 25
    1235         Width = 95
    12361236        Caption = 'Mastodon:'
    12371237        ParentFont = False
    12381238      end
    12391239      object LabelOrganization10: TLabel
    1240         Left = 470
    1241         Height = 27
    1242         Top = 221
    1243         Width = 64
     1240        Left = 451
     1241        Height = 26
     1242        Top = 212
     1243        Width = 59
    12441244        Caption = 'Reddit:'
    12451245        ParentFont = False
    12461246      end
    12471247      object EditReddit: TEdit
    1248         Left = 633
    1249         Height = 43
    1250         Top = 217
    1251         Width = 265
     1248        Left = 608
     1249        Height = 42
     1250        Top = 208
     1251        Width = 254
    12521252        ParentFont = False
    12531253        TabOrder = 9
    12541254      end
    12551255      object EditPeerTube: TEdit
    1256         Left = 633
    1257         Height = 43
    1258         Top = 17
    1259         Width = 265
     1256        Left = 608
     1257        Height = 42
     1258        Top = 16
     1259        Width = 254
    12601260        ParentFont = False
    12611261        TabOrder = 1
    12621262      end
    12631263      object EditYouTube: TEdit
    1264         Left = 633
    1265         Height = 43
    1266         Top = 117
    1267         Width = 265
     1264        Left = 608
     1265        Height = 42
     1266        Top = 112
     1267        Width = 254
    12681268        ParentFont = False
    12691269        TabOrder = 5
    12701270      end
    12711271      object EditFacebook: TEdit
    1272         Left = 633
    1273         Height = 43
    1274         Top = 67
    1275         Width = 265
     1272        Left = 608
     1273        Height = 42
     1274        Top = 64
     1275        Width = 254
    12761276        ParentFont = False
    12771277        TabOrder = 3
    12781278      end
    12791279      object LabelOrganization11: TLabel
    1280         Left = 470
    1281         Height = 27
    1282         Top = 71
    1283         Width = 90
     1280        Left = 451
     1281        Height = 26
     1282        Top = 68
     1283        Width = 86
    12841284        Caption = 'Facebook:'
    12851285        ParentFont = False
     
    12881288    object TabSheetOthers: TTabSheet
    12891289      Caption = 'Others'
    1290       ClientHeight = 651
    1291       ClientWidth = 1000
     1290      ClientHeight = 624
     1291      ClientWidth = 960
    12921292      OnHide = TabSheetOthersHide
    12931293      OnShow = TabSheetOthersShow
    12941294      object MemoNotes: TMemo
    1295         Left = 17
    1296         Height = 289
    1297         Top = 50
    1298         Width = 671
     1295        Left = 16
     1296        Height = 276
     1297        Top = 48
     1298        Width = 644
    12991299        Anchors = [akTop, akLeft, akRight, akBottom]
    13001300        ParentFont = False
     
    13041304      end
    13051305      object Label6: TLabel
    1306         Left = 17
    1307         Height = 27
    1308         Top = 17
    1309         Width = 57
     1306        Left = 16
     1307        Height = 26
     1308        Top = 16
     1309        Width = 55
    13101310        Caption = 'Notes:'
    13111311        ParentFont = False
    13121312      end
    13131313      object BarcodeQR1: TBarcodeQR
    1314         Left = 704
    1315         Height = 286
    1316         Top = 50
    1317         Width = 280
     1314        Left = 676
     1315        Height = 275
     1316        Top = 48
     1317        Width = 269
    13181318        ParentColor = False
    13191319        Text = 'TBarcodeQR'
    13201320      end
    13211321      object Label1: TLabel
    1322         Left = 704
    1323         Height = 27
    1324         Top = 16
    1325         Width = 80
     1322        Left = 677
     1323        Height = 26
     1324        Top = 15
     1325        Width = 76
    13261326        Anchors = [akTop, akRight]
    13271327        Caption = 'QR code:'
     
    13361336  object ActionList1: TActionList
    13371337    Images = Core.ImageList1
    1338     Left = 632
    1339     Top = 608
     1338    Left = 607
     1339    Top = 584
    13401340    object APhotoLoad: TAction
    13411341      Caption = 'Load from file'
     
    13611361  object PopupMenuPhoto: TPopupMenu
    13621362    Images = Core.ImageList1
    1363     Left = 864
    1364     Top = 608
     1363    Left = 829
     1364    Top = 584
    13651365    object MenuItem4: TMenuItem
    13661366      Action = APhotoShow
     
    13811381  object OpenPictureDialog1: TOpenPictureDialog
    13821382    Title = 'Open existing file'
    1383     Left = 175
    1384     Top = 575
     1383    Left = 168
     1384    Top = 552
    13851385  end
    13861386  object SavePictureDialog1: TSavePictureDialog
    13871387    Title = 'Save file as'
    1388     Left = 176
    1389     Top = 488
     1388    Left = 169
     1389    Top = 468
    13901390  end
    13911391  object CalendarDialog1: TCalendarDialog
     
    13941394    OKCaption = '&OK'
    13951395    CancelCaption = 'Cancel'
    1396     Left = 448
    1397     Top = 608
     1396    Left = 430
     1397    Top = 584
    13981398  end
    13991399  object PopupMenuQrCode: TPopupMenu
    1400     Left = 528
    1401     Top = 472
     1400    Left = 507
     1401    Top = 453
    14021402    object MenuItemSaveQrToFile: TMenuItem
    14031403      Caption = 'Save to file'
  • trunk/Forms/UFormContacts.lfm

    r95 r128  
    11object FormContacts: TFormContacts
    22  Left = 400
    3   Height = 946
     3  Height = 908
    44  Top = 212
    5   Width = 1260
     5  Width = 1210
    66  Caption = 'Contacts'
    7   ClientHeight = 946
    8   ClientWidth = 1260
    9   DesignTimePPI = 150
     7  ClientHeight = 908
     8  ClientWidth = 1210
     9  DesignTimePPI = 144
    1010  OnClose = FormClose
    1111  OnCreate = FormCreate
     
    1616  object ListView1: TListView
    1717    Left = 0
    18     Height = 844
     18    Height = 810
    1919    Top = 0
    20     Width = 1260
     20    Width = 1210
    2121    Align = alClient
    2222    Columns = <   
    2323      item
    2424        Caption = 'Full Name'
    25         Width = 312
     25        Width = 300
    2626      end   
    2727      item
    2828        Caption = 'First name'
    29         Width = 156
     29        Width = 150
    3030      end   
    3131      item
    3232        Caption = 'Middle name'
    33         Width = 156
     33        Width = 150
    3434      end   
    3535      item
    3636        Caption = 'Last Name'
    37         Width = 156
     37        Width = 150
    3838      end   
    3939      item
    4040        Caption = 'Phone'
    41         Width = 156
     41        Width = 150
    4242      end   
    4343      item
    4444        Caption = 'Mobile'
    45         Width = 156
     45        Width = 150
    4646      end   
    4747      item
    4848        Caption = 'Home phone'
    49         Width = 156
     49        Width = 150
    5050      end   
    5151      item
    5252        Caption = 'Work phone'
    53         Width = 156
     53        Width = 150
    5454      end>
    5555    MultiSelect = True
     
    6767  object ToolBar1: TToolBar
    6868    Left = 0
    69     Height = 41
    70     Top = 877
    71     Width = 1260
     69    Height = 39
     70    Top = 842
     71    Width = 1210
    7272    Align = alBottom
    7373    Images = Core.ImageList1
     
    8282    end
    8383    object ToolButton2: TToolButton
    84       Left = 37
     84      Left = 36
    8585      Top = 2
    8686      Action = AModify
    8787    end
    8888    object ToolButton3: TToolButton
    89       Left = 109
     89      Left = 106
    9090      Top = 2
    9191      Action = ARemove
    9292    end
    9393    object ToolButton4: TToolButton
    94       Left = 73
     94      Left = 71
    9595      Top = 2
    9696      Action = AClone
    9797    end
    9898    object ToolButton5: TToolButton
    99       Left = 145
    100       Height = 34
     99      Left = 141
     100      Height = 33
    101101      Top = 2
    102102      Style = tbsSeparator
    103103    end
    104104    object ToolButton6: TToolButton
    105       Left = 153
     105      Left = 149
    106106      Top = 2
    107107      Action = ALoadFromFile
    108108    end
    109109    object ToolButton7: TToolButton
    110       Left = 189
     110      Left = 184
    111111      Top = 2
    112112      Action = ASaveToFile
     
    115115  object ListViewFilter1: TListViewFilter
    116116    Left = 0
    117     Height = 33
    118     Top = 844
    119     Width = 1260
     117    Height = 32
     118    Top = 810
     119    Width = 1210
    120120    OnChange = ListViewFilter1Change
    121121    Align = alBottom
     
    123123  object StatusBar1: TStatusBar
    124124    Left = 0
    125     Height = 28
    126     Top = 918
    127     Width = 1260
     125    Height = 27
     126    Top = 881
     127    Width = 1210
    128128    Panels = <   
    129129      item
    130         Width = 52
     130        Width = 50
    131131      end>
    132132    SimplePanel = False
     
    134134  object PopupMenuContact: TPopupMenu
    135135    Images = Core.ImageList1
    136     Left = 453
    137     Top = 274
     136    Left = 435
     137    Top = 263
    138138    object MenuItem1: TMenuItem
    139139      Action = AAdd
     
    175175  object ActionList1: TActionList
    176176    Images = Core.ImageList1
    177     Left = 763
    178     Top = 268
     177    Left = 732
     178    Top = 257
    179179    object AAdd: TAction
    180180      Caption = 'Add'
     
    241241    Column = 0
    242242    Order = soNone
    243     Left = 550
    244     Top = 446
     243    Left = 528
     244    Top = 428
    245245  end
    246246  object SaveDialog1: TSaveDialog
    247     Left = 750
    248     Top = 425
     247    Left = 720
     248    Top = 408
    249249  end
    250250  object OpenDialog1: TOpenDialog
    251     Left = 750
    252     Top = 500
     251    Left = 720
     252    Top = 480
    253253  end
    254254end
  • trunk/Forms/UFormContacts.pas

    r127 r128  
    55uses
    66  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls,
    7   Menus, ActnList, UContact, UListViewSort, fgl, LazUTF8, Clipbrd;
     7  Menus, ActnList, UContact, UListViewSort, LazUTF8, Clipbrd,
     8  Generics.Collections;
    89
    910type
     
    7677    FContacts: TContacts;
    7778    FUpdateCount: Integer;
    78     procedure FilterList(List: TFPGObjectList<TObject>);
     79    procedure FilterList(List: TObjectList<TObject>);
    7980    procedure SetContacts(AValue: TContacts);
    8081    function GetPreviousContact(Contact: TContact): TContact;
     
    188189end;
    189190
    190 procedure TFormContacts.FilterList(List: TFPGObjectList<TObject>);
     191procedure TFormContacts.FilterList(List: TObjectList<TObject>);
    191192var
    192193  I: Integer;
     
    194195  K: Integer;
    195196  FoundCount: Integer;
     197  Item: TContact;
    196198begin
    197199  for I := List.Count - 1 downto 0 do begin
    198200    if List.Items[I] is TContact then begin
    199       with TContact(List.Items[I]) do begin
     201      Item := TContact(List.Items[I]);
     202      with Item do begin
    200203        FoundCount := 0;
    201204        for J := 0 to FilterItems.Count - 1 do
    202205        if FilterItems[J].FieldIndex = cfNone then begin
    203           for K := 0 to TContact(List.Items[I]).GetFields.Count - 1 do begin
     206          for K := 0 to Item.GetFields.Count - 1 do begin
    204207            if Pos(UTF8LowerCase(FilterItems[J].Value),
    205               UTF8LowerCase(TContact(List.Items[I]).Fields[TContact.GetFields[K].Index])) > 0 then begin
     208              UTF8LowerCase(Item.Fields[TContact.GetFields[K].Index])) > 0 then begin
    206209                Inc(FoundCount);
    207210                Break;
     
    210213        end else begin
    211214          if Pos(UTF8LowerCase(FilterItems[J].Value),
    212             UTF8LowerCase(TContact(List.Items[I]).Fields[FilterItems[J].FieldIndex])) > 0 then
     215            UTF8LowerCase(Item.Fields[FilterItems[J].FieldIndex])) > 0 then
    213216              Inc(FoundCount);
    214217        end;
  • trunk/Forms/UFormFind.lfm

    r103 r128  
    11object FormFind: TFormFind
    22  Left = 469
    3   Height = 545
     3  Height = 523
    44  Top = 407
    5   Width = 841
     5  Width = 807
    66  ActiveControl = EditValue
    77  Caption = 'Find'
    8   ClientHeight = 545
    9   ClientWidth = 841
    10   DesignTimePPI = 150
     8  ClientHeight = 523
     9  ClientWidth = 807
     10  DesignTimePPI = 144
    1111  OnClose = FormClose
    1212  OnCreate = FormCreate
     
    1616  object Panel1: TPanel
    1717    Left = 0
    18     Height = 60
     18    Height = 58
    1919    Top = 0
    20     Width = 841
     20    Width = 807
    2121    Align = alTop
    2222    BevelOuter = bvNone
    23     ClientHeight = 60
    24     ClientWidth = 841
     23    ClientHeight = 58
     24    ClientWidth = 807
    2525    ParentFont = False
    2626    TabOrder = 0
    2727    object ComboBoxField: TComboBox
    28       Left = 192
    29       Height = 42
    30       Top = 17
    31       Width = 250
     28      Left = 184
     29      Height = 41
     30      Top = 16
     31      Width = 240
    3232      ItemHeight = 0
    3333      OnChange = ComboBoxFieldChange
     
    3737    end
    3838    object Label1: TLabel
    39       Left = 14
    40       Height = 27
    41       Top = 20
    42       Width = 142
     39      Left = 13
     40      Height = 26
     41      Top = 19
     42      Width = 135
    4343      Caption = 'By contact field:'
    4444      ParentFont = False
    4545    end
    4646    object EditValue: TEdit
    47       Left = 458
    48       Height = 43
    49       Top = 17
    50       Width = 217
     47      Left = 440
     48      Height = 42
     49      Top = 16
     50      Width = 208
    5151      OnKeyPress = EditValueKeyPress
    5252      TabOrder = 1
    5353    end
    5454    object ButtonFind: TButton
    55       Left = 692
    56       Height = 40
    57       Top = 17
    58       Width = 118
     55      Left = 664
     56      Height = 38
     57      Top = 16
     58      Width = 113
    5959      Caption = 'Find'
    6060      OnClick = ButtonFindClick
  • trunk/Forms/UFormFind.pas

    r127 r128  
    55uses
    66  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls,
    7   ExtCtrls, StdCtrls, ActnList, Menus, fgl, UContact, UFormContacts;
     7  ExtCtrls, StdCtrls, ActnList, Menus, UContact, UFormContacts;
    88
    99type
  • trunk/Forms/UFormFindDuplicity.lfm

    r103 r128  
    11object FormFindDuplicity: TFormFindDuplicity
    22  Left = 455
    3   Height = 545
     3  Height = 523
    44  Top = 355
    5   Width = 841
     5  Width = 807
    66  Caption = 'Find duplicities'
    7   ClientHeight = 545
    8   ClientWidth = 841
    9   DesignTimePPI = 150
     7  ClientHeight = 523
     8  ClientWidth = 807
     9  DesignTimePPI = 144
    1010  OnClose = FormClose
    1111  OnCreate = FormCreate
     
    1515  object ListView1: TListView
    1616    Left = 5
    17     Height = 475
    18     Top = 65
    19     Width = 831
     17    Height = 455
     18    Top = 63
     19    Width = 797
    2020    Align = alClient
    2121    BorderSpacing.Around = 5
     
    2323      item
    2424        Caption = 'Field'
    25         Width = 188
     25        Width = 180
    2626      end   
    2727      item
    2828        Caption = 'Contacts'
    29         Width = 375
     29        Width = 360
    3030      end   
    3131      item
    3232        Caption = 'Count'
    33         Width = 253
     33        Width = 243
    3434      end>
    3535    OwnerData = True
     
    4545  object Panel1: TPanel
    4646    Left = 0
    47     Height = 60
     47    Height = 58
    4848    Top = 0
    49     Width = 841
     49    Width = 807
    5050    Align = alTop
    5151    BevelOuter = bvNone
    52     ClientHeight = 60
    53     ClientWidth = 841
     52    ClientHeight = 58
     53    ClientWidth = 807
    5454    ParentFont = False
    5555    TabOrder = 1
    5656    object ComboBoxField: TComboBox
    57       Left = 167
    58       Height = 42
    59       Top = 17
    60       Width = 340
     57      Left = 160
     58      Height = 41
     59      Top = 16
     60      Width = 326
    6161      ItemHeight = 0
    6262      OnChange = ComboBoxFieldChange
     
    6666    end
    6767    object Label1: TLabel
    68       Left = 14
    69       Height = 27
    70       Top = 20
    71       Width = 142
     68      Left = 13
     69      Height = 26
     70      Top = 19
     71      Width = 135
    7272      Caption = 'By contact field:'
    7373      ParentFont = False
    7474    end
    7575    object ButtonMerge: TButton
    76       Left = 517
    77       Height = 40
    78       Top = 15
    79       Width = 118
     76      Left = 496
     77      Height = 38
     78      Top = 14
     79      Width = 113
    8080      Caption = 'Merge'
    8181      OnClick = ButtonMergeClick
     
    8484  end
    8585  object ActionList1: TActionList
    86     Left = 273
    87     Top = 160
     86    Left = 262
     87    Top = 154
    8888    object AShowContacts: TAction
    8989      Caption = 'Show contacts'
     
    9292  end
    9393  object PopupMenu1: TPopupMenu
    94     Left = 94
    95     Top = 155
     94    Left = 90
     95    Top = 149
    9696    object MenuItem1: TMenuItem
    9797      Action = AShowContacts
  • trunk/Forms/UFormFindDuplicity.pas

    r127 r128  
    55uses
    66  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls,
    7   ExtCtrls, StdCtrls, ActnList, Menus, fgl, UContact;
     7  ExtCtrls, StdCtrls, ActnList, Menus, UContact, Generics.Collections,
     8  Generics.Defaults;
    89
    910type
     
    2021  { TFoundItems }
    2122
    22   TFoundItems = class(TFPGObjectList<TFoundItem>)
     23  TFoundItems = class(TObjectList<TFoundItem>)
    2324    function SearchByField(Field: string): TFoundItem;
    2425  end;
     
    135136end;
    136137
    137 function FoundItemsSort(const Item1, Item2: TFoundItem): Integer;
     138function FoundItemsSort(constref Item1, Item2: TFoundItem): Integer;
    138139begin
    139140  if Item1.Contacts.Count < Item2.Contacts.Count then Result := 1
     
    161162    end;
    162163  end;
    163   FoundItems.Sort(FoundItemsSort);
     164  FoundItems.Sort(TComparer<TFoundItem>.Construct(FoundItemsSort));
    164165  ReloadList;
    165166end;
  • trunk/Forms/UFormImage.lfm

    r103 r128  
    11object FormImage: TFormImage
    22  Left = 761
    3   Height = 546
     3  Height = 524
    44  Top = 539
    5   Width = 741
     5  Width = 711
    66  Caption = 'Photo'
    7   ClientHeight = 546
    8   ClientWidth = 741
    9   Constraints.MinHeight = 178
    10   Constraints.MinWidth = 741
    11   DesignTimePPI = 150
     7  ClientHeight = 524
     8  ClientWidth = 711
     9  Constraints.MinHeight = 171
     10  Constraints.MinWidth = 711
     11  DesignTimePPI = 144
    1212  OnClose = FormClose
    1313  OnCreate = FormCreate
     
    1616  LCLVersion = '2.2.0.4'
    1717  object ImagePhoto: TImage
    18     Left = 16
    19     Height = 412
    20     Top = 16
    21     Width = 707
     18    Left = 15
     19    Height = 396
     20    Top = 15
     21    Width = 679
    2222    Anchors = [akTop, akLeft, akRight, akBottom]
    2323    Center = True
     
    2626  end
    2727  object ButtonLoad: TButton
    28     Left = 16
    29     Height = 39
    30     Top = 492
    31     Width = 176
     28    Left = 15
     29    Height = 37
     30    Top = 473
     31    Width = 169
    3232    Anchors = [akLeft, akBottom]
    3333    Caption = 'Load from file'
     
    3636  end
    3737  object ButtonSave: TButton
    38     Left = 200
    39     Height = 39
    40     Top = 491
    41     Width = 168
     38    Left = 192
     39    Height = 37
     40    Top = 472
     41    Width = 161
    4242    Anchors = [akLeft, akBottom]
    4343    Caption = 'Save to file'
     
    4646  end
    4747  object ButtonClear: TButton
    48     Left = 376
    49     Height = 39
    50     Top = 492
    51     Width = 104
     48    Left = 361
     49    Height = 37
     50    Top = 473
     51    Width = 100
    5252    Anchors = [akLeft, akBottom]
    5353    Caption = 'Clear'
     
    5656  end
    5757  object EditUrl: TEdit
    58     Left = 88
    59     Height = 43
    60     Top = 435
    61     Width = 635
     58    Left = 84
     59    Height = 42
     60    Top = 417
     61    Width = 610
    6262    Anchors = [akLeft, akRight, akBottom]
    6363    OnChange = EditUrlChange
     
    6565  end
    6666  object ButtonCancel: TButton
    67     Left = 504
    68     Height = 39
    69     Top = 492
    70     Width = 104
     67    Left = 483
     68    Height = 37
     69    Top = 473
     70    Width = 100
    7171    Anchors = [akRight, akBottom]
    7272    Caption = 'Cancel'
     
    7575  end
    7676  object ButtonOk: TButton
    77     Left = 619
    78     Height = 39
    79     Top = 492
    80     Width = 104
     77    Left = 594
     78    Height = 37
     79    Top = 473
     80    Width = 100
    8181    Anchors = [akRight, akBottom]
    8282    Caption = 'OK'
     
    8585  end
    8686  object Label1: TLabel
    87     Left = 16
    88     Height = 27
    89     Top = 443
    90     Width = 41
     87    Left = 15
     88    Height = 26
     89    Top = 425
     90    Width = 38
    9191    Anchors = [akLeft, akBottom]
    9292    Caption = 'URL:'
    9393  end
    9494  object OpenPictureDialog1: TOpenPictureDialog
    95     Left = 132
    96     Top = 216
     95    Left = 127
     96    Top = 207
    9797  end
    9898  object SavePictureDialog1: TSavePictureDialog
    99     Left = 320
    100     Top = 216
     99    Left = 307
     100    Top = 207
    101101  end
    102102end
  • trunk/Forms/UFormProperties.pas

    r127 r128  
    55uses
    66  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls,
    7   Menus, ActnList, UContact, UDataFile, UListViewSort, fgl, LazUTF8;
     7  Menus, ActnList, UContact, UDataFile, UListViewSort, LazUTF8,
     8  Generics.Collections;
    89
    910type
     
    6465    FProperties: TContactProperties;
    6566    FUpdateCount: Integer;
    66     procedure FilterList(List: TFPGObjectList<TObject>);
     67    procedure FilterList(List: TObjectList<TObject>);
    6768    procedure SetProperties(AValue: TContactProperties);
    6869    procedure DoUpdateInterface;
     
    167168end;
    168169
    169 procedure TFormProperties.FilterList(List: TFPGObjectList<TObject>);
     170procedure TFormProperties.FilterList(List: TObjectList<TObject>);
    170171var
    171172  I: Integer;
  • trunk/Forms/UFormTest.pas

    r127 r128  
    4949
    5050uses
    51   UCore, UFormTestCase, UContact, UTestCases;
     51  UCore, UFormTestCase, UContact;
    5252
    5353{ TFormTest }
  • trunk/Packages/Common/Common.lpk

    r90 r128  
    3333      <Other>
    3434        <CompilerMessages>
    35           <IgnoredMessages idx6058="True" idx5024="True" idx3124="True" idx3123="True"/>
     35          <IgnoredMessages idx6058="True" idx5071="True" idx5024="True" idx3124="True" idx3123="True"/>
    3636        </CompilerMessages>
    3737      </Other>
  • trunk/Packages/Common/UDebugLog.pas

    r127 r128  
    44
    55uses
    6   Classes, SysUtils, FileUtil, fgl, SyncObjs;
     6  Classes, SysUtils, FileUtil, Generics.Collections, SyncObjs;
    77
    88type
     
    1313    Group: string;
    1414    Text: string;
     15  end;
     16
     17  TDebugLogItems = class(TObjectList<TDebugLogItem>)
    1518  end;
    1619
     
    2730    procedure SetMaxCount(const AValue: Integer);
    2831  public
    29     Items: TFPGObjectList<TDebugLogItem>;
     32    Items: TDebugLogItems;
    3033    Lock: TCriticalSection;
    3134    procedure Add(Text: string; Group: string = '');
     
    116119begin
    117120  inherited;
    118   Items := TFPGObjectList<TDebugLogItem>.Create;
     121  Items := TDebugLogItems.Create;
    119122  Lock := TCriticalSection.Create;
    120123  MaxCount := 100;
     
    125128destructor TDebugLog.Destroy;
    126129begin
    127   Items.Free;
    128   Lock.Free;
     130  FreeAndNil(Items);
     131  FreeAndNil(Lock);
    129132  inherited;
    130133end;
  • trunk/Packages/Common/UFindFile.pas

    r90 r128  
    3535  private
    3636    s : TStringList;
    37 
    3837    fSubFolder : boolean;
    3938    fAttr: TFileAttrib;
    4039    fPath : string;
    4140    fFileMask : string;
    42 
    4341    procedure SetPath(Value: string);
    4442    procedure FileSearch(const inPath : string);
     
    4644    constructor Create(AOwner: TComponent); override;
    4745    destructor Destroy; override;
    48 
    4946    function SearchForFiles: TStringList;
    5047  published
     
    6461
    6562procedure Register;
     63
    6664
    6765implementation
  • trunk/Packages/Common/UJobProgressView.pas

    r127 r128  
    55uses
    66  SysUtils, Variants, Classes, Graphics, Controls, Forms, Syncobjs,
    7   Dialogs, ComCtrls, StdCtrls, ExtCtrls, fgl, UThreading, Math,
     7  Dialogs, ComCtrls, StdCtrls, ExtCtrls, Generics.Collections, UThreading, Math,
    88  DateUtils;
    99
     
    6969  end;
    7070
    71   TJobs = class(TFPGObjectList<TJob>)
     71  TJobs = class(TObjectList<TJob>)
    7272  end;
    7373
  • trunk/Packages/Common/ULanguages.pas

    r127 r128  
    44
    55uses
    6   Classes, SysUtils, fgl;
     6  Classes, SysUtils, Generics.Collections;
    77
    88type
     
    1515  { TLanguages }
    1616
    17   TLanguages = class(TFPGObjectList<TLanguage>)
     17  TLanguages = class(TObjectList<TLanguage>)
    1818    function SearchByCode(ACode: string): TLanguage;
    1919    procedure AddNew(Code: string; Name: string);
  • trunk/Packages/Common/UListViewSort.pas

    r127 r128  
    77uses
    88  {$IFDEF Windows}Windows, CommCtrl, LMessages, {$ENDIF}Classes, Graphics, ComCtrls, SysUtils,
    9   Controls, DateUtils, Dialogs, fgl, Forms, Grids, StdCtrls, ExtCtrls,
    10   LclIntf, LclType, LResources;
     9  Controls, DateUtils, Dialogs, Forms, Grids, StdCtrls, ExtCtrls,
     10  LclIntf, LclType, LResources, Generics.Collections, Generics.Defaults;
    1111
    1212type
     
    1717  TCompareEvent = function (Item1, Item2: TObject): Integer of object;
    1818  TListFilterEvent = procedure (ListViewSort: TListViewSort) of object;
     19
     20  TObjects = TObjectList<TObject>;
    1921
    2022  { TListViewSort }
     
    5052    {$ENDIF}
    5153  public
    52     List: TFPGObjectList<TObject>;
    53     Source: TFPGObjectList<TObject>;
     54    Source: TObjects;
     55    List: TObjects;
    5456    constructor Create(AOwner: TComponent); override;
    5557    destructor Destroy; override;
     
    336338  ListViewSortCompare: TCompareEvent;
    337339
    338 function ListViewCompare(const Item1, Item2: TObject): Integer;
     340function ListViewCompare(constref Item1, Item2: TObject): Integer;
    339341begin
    340342  Result := ListViewSortCompare(Item1, Item2);
     
    347349  ListViewSortCompare := Compare;
    348350  if (List.Count > 0) then
    349     List.Sort(ListViewCompare);
     351    List.Sort(TComparer<TObject>.Construct(ListViewCompare));
    350352end;
    351353
     
    353355begin
    354356  if Assigned(FOnFilter) then FOnFilter(Self)
    355   else if Assigned(Source) then
    356     List.Assign(Source) else
     357  else if Assigned(Source) then begin
    357358    List.Clear;
     359    List.AddRange(Source);
     360  end else List.Clear;
    358361  if ListView.Items.Count <> List.Count then
    359362    ListView.Items.Count := List.Count;
     
    410413begin
    411414  inherited;
    412   List := TFPGObjectList<TObject>.Create;
    413   List.FreeObjects := False;
     415  List := TObjects.Create;
     416  List.OwnsObjects := False;
    414417end;
    415418
    416419destructor TListViewSort.Destroy;
    417420begin
    418   List.Free;
     421  FreeAndNil(List);
    419422  inherited;
    420423end;
  • trunk/Packages/Common/UMetaCanvas.pas

    r127 r128  
    44
    55uses
    6   Classes, SysUtils, Graphics, Types, fgl;
     6  Classes, SysUtils, Graphics, Types, Generics.Collections;
    77
    88type
     
    1717  end;
    1818
    19   TCanvasObjects = class(TFPGObjectList<TCanvasObject>)
     19  TCanvasObjects = class(TObjectList<TCanvasObject>)
    2020  end;
    2121
  • trunk/Packages/Common/UPool.pas

    r127 r128  
    44
    55uses
    6   Classes, SysUtils, syncobjs, fgl, UThreading;
     6  Classes, SysUtils, syncobjs, Generics.Collections, UThreading;
    77
    88type
     
    2020    function NewItemObject: TObject; virtual;
    2121  public
    22     Items: TFPGObjectList<TObject>;
    23     FreeItems: TFPGObjectList<TObject>;
     22    Items: TObjectList<TObject>;
     23    FreeItems: TObjectList<TObject>;
    2424    function Acquire: TObject; virtual;
    2525    procedure Release(Item: TObject); virtual;
     
    183183begin
    184184  inherited;
    185   Items := TFPGObjectList<TObject>.Create;
    186   FreeItems := TFPGObjectList<TObject>.Create;
    187   FreeItems.FreeObjects := False;
     185  Items := TObjectList<TObject>.Create;
     186  FreeItems := TObjectList<TObject>.Create;
     187  FreeItems.OwnsObjects := False;
    188188  FReleaseEvent := TEvent.Create(nil, False, False, '');
    189189end;
  • trunk/Packages/Common/UScaleDPI.pas

    r127 r128  
    66
    77uses
    8   Classes, Forms, Graphics, Controls, ComCtrls, LCLType, SysUtils, fgl;
     8  Classes, Forms, Graphics, Controls, ComCtrls, LCLType, SysUtils,
     9  Generics.Collections;
    910
    1011type
     
    2627  end;
    2728
    28   TControlDimensions = class(TFPGObjectList<TControlDimension>)
     29  TControlDimensions = class(TObjectList<TControlDimension>)
    2930  end;
    3031
  • trunk/Packages/Common/UTheme.pas

    r127 r128  
    55uses
    66  Classes, SysUtils, Graphics, ComCtrls, Controls, ExtCtrls, Menus, StdCtrls,
    7   Spin, Forms, fgl, Grids;
     7  Spin, Forms, Generics.Collections, Grids;
    88
    99type
     
    1919  { TThemes }
    2020
    21   TThemes = class(TFPGObjectList<TTheme>)
     21  TThemes = class(TObjectList<TTheme>)
    2222    function AddNew(Name: string): TTheme;
    2323    function FindByName(Name: string): TTheme;
  • trunk/Packages/Common/UThreading.pas

    r127 r128  
    44
    55uses
    6   Classes, SysUtils, Forms, fgl, SyncObjs;
     6  Classes, SysUtils, Forms, Generics.Collections, SyncObjs;
    77
    88type
     
    9999  { TThreadList }
    100100
    101   TThreadList = class(TFPGObjectList<TVirtualThread>)
     101  TThreadList = class(TObjectList<TVirtualThread>)
    102102    function FindById(Id: TThreadID): TVirtualThread;
    103103    constructor Create; virtual;
     
    358358ThreadListLock := TCriticalSection.Create;
    359359ThreadList := TThreadList.Create;
    360 ThreadList.FreeObjects := False;
     360ThreadList.OwnsObjects := False;
    361361
    362362finalization
  • trunk/Packages/Common/UTranslator.pas

    r127 r128  
    44
    55uses
    6   Classes, SysUtils, Forms, ExtCtrls, Controls, fgl, LazFileUtils, LazUTF8,
     6  Classes, SysUtils, Forms, ExtCtrls, Controls, LazFileUtils, LazUTF8,
    77  Translations, TypInfo, Dialogs, FileUtil, LCLProc, ULanguages, LCLType,
    8   LCLVersion;
     8  LCLVersion, Generics.Collections;
    99
    1010type
    1111  THandleStringEvent = function (AValue: string): string of object;
    1212
    13   TPoFiles = class(TFPGObjectList<TPOFile>)
     13  TPoFiles = class(TObjectList<TPOFile>)
    1414  end;
    1515
     
    2525  { TComponentExcludesList }
    2626
    27   TComponentExcludesList = class(TFPGObjectList<TComponentExcludes>)
     27  TComponentExcludesList = class(TObjectList<TComponentExcludes>)
    2828    function FindByClassType(AClassType: TClass): TComponentExcludes;
    2929    procedure DumpToStrings(Strings: TStrings);
     
    288288  Item := Component.ClassType;
    289289  while Assigned(Item) do begin
    290     //ShowMessage(Component.Name + ', ' + Component.ClassName + ', ' + Item.ClassName + ', ' + PropertyName);
    291290    Excludes := ComponentExcludes.FindByClassType(Item.ClassType);
    292291    if Assigned(Excludes) then begin
  • trunk/Packages/SynEditEx/SynEditEx.lpk

    r121 r128  
    77      <Version Value="11"/>
    88      <SearchPaths>
    9         <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
     9        <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)-$(BuildMode)"/>
    1010      </SearchPaths>
     11      <Parsing>
     12        <SyntaxOptions>
     13          <SyntaxMode Value="Delphi"/>
     14          <CStyleOperator Value="False"/>
     15          <AllowLabel Value="False"/>
     16          <CPPInline Value="False"/>
     17        </SyntaxOptions>
     18      </Parsing>
     19      <CodeGeneration>
     20        <Optimizations>
     21          <OptimizationLevel Value="0"/>
     22        </Optimizations>
     23      </CodeGeneration>
     24      <Linking>
     25        <Debugging>
     26          <GenerateDebugInfo Value="False"/>
     27        </Debugging>
     28      </Linking>
    1129    </CompilerOptions>
    1230    <Files>
  • trunk/Packages/SynEditEx/USynEditEx.pas

    r121 r128  
    11unit USynEditEx;
    2 
    3 {$mode delphi}{$H+}
    42
    53interface
  • trunk/Packages/lazbarcodes/demo

    • Property svn:ignore set to
      LazBarcodeDemo
      LazBarcodeDemo.lps
      LazBarcodeDemo.res
      lib
  • trunk/UContact.pas

    r127 r128  
    44
    55uses
    6   Classes, SysUtils, fgl, Dialogs, UDataFile, LazUTF8, Base64, Graphics;
     6  Classes, SysUtils, Generics.Collections, Generics.Defaults, Dialogs,
     7  UDataFile, LazUTF8, Base64, Graphics, UListViewSort;
    78
    89type
     
    6263    cfPeerTube, cfLinkedIn, cfMastodon, cfMySpace, cfReddit);
    6364
    64   TContactFieldIndexes = TFPGList<TContactFieldIndex>;
     65  TContactFieldIndexes = TList<TContactFieldIndex>;
    6566
    6667  TContactFilterItem = class
     
    7172  { TContactFilterItems }
    7273
    73   TContactFilterItems = class(TFPGObjectList<TContactFilterItem>)
     74  TContactFilterItems = class(TObjectList<TContactFilterItem>)
    7475    function AddNew(FieldIndex: TContactFieldIndex; Value: string): TContactFilterItem;
    7576  end;
     
    9899  { TContactFields }
    99100
    100   TContactFields = class(TFPGObjectList<TContactField>)
     101  TContactFields = class(TObjectList<TContactField>)
    101102  private
    102103    Indexes: array[TContactFieldIndex] of TContactField;
     
    143144  { TContactProperties }
    144145
    145   TContactProperties = class(TFPGObjectList<TContactProperty>)
     146  TContactProperties = class(TObjectList<TContactProperty>)
    146147    function AddNew(Name, Value: string): TContactProperty;
    147148    procedure Assign(Source: TContactProperties);
    148     procedure AssignToList(List: TFPGObjectList<TObject>);
     149    procedure AssignToList(List: TObjects);
    149150    function GetByName(Name: string): TContactProperty;
    150151    function GetByNameGroups(Name: string; Groups: TStringArray;
     
    197198  { TContacts }
    198199
    199   TContacts = class(TFPGObjectList<TContact>)
     200  TContacts = class(TObjectList<TContact>)
    200201    ContactsFile: TContactsFile;
    201202    procedure Assign(Source: TContacts);
    202203    procedure AddContacts(Contacts: TContacts);
    203204    procedure InsertContacts(Index: Integer; Contacts: TContacts);
    204     procedure AssignToList(List: TFPGObjectList<TObject>);
     205    procedure AssignToList(List: TObjects);
    205206    function AddNew: TContact;
    206207    function Search(Text: string; FieldIndex: TContactFieldIndex): TContact;
     
    854855end;
    855856
    856 procedure TContactProperties.AssignToList(List: TFPGObjectList<TObject>);
     857procedure TContactProperties.AssignToList(List: TObjects);
    857858var
    858859  I: Integer;
     
    11261127end;
    11271128
    1128 procedure TContacts.AssignToList(List: TFPGObjectList<TObject>);
    1129 var
    1130   I: Integer;
    1131 begin
    1132   while List.Count > Count do List.Delete(List.Count - 1);
    1133   while List.Count < Count do List.Add(nil);
    1134   for I := 0 to Count - 1 do
     1129procedure TContacts.AssignToList(List: TObjects);
     1130var
     1131  I: Integer;
     1132begin
     1133  while List.Count > Count do
     1134    List.Delete(List.Count - 1);
     1135  for I := 0 to List.Count - 1 do
    11351136    List[I] := Items[I];
     1137  while List.Count < Count do
     1138    List.Add(Items[List.Count]);
    11361139end;
    11371140
     
    19061909end;
    19071910
    1908 function CompareContactFullName(const Item1, Item2: TContact): Integer;
     1911function CompareContactFullName(constref Item1, Item2: TContact): Integer;
    19091912begin
    19101913  Result := CompareStr(Item1.Fields[cfFullName], Item2.Fields[cfFullName]);
    19111914end;
    19121915
    1913 function ComparePropertyName(const Item1, Item2: TContactProperty): Integer;
     1916function ComparePropertyName(constref Item1, Item2: TContactProperty): Integer;
    19141917begin
    19151918  Result := CompareStr(Item1.Name + ';' + Item1.Attributes.Text,
     
    19211924  I: Integer;
    19221925begin
    1923   Contacts.Sort(CompareContactFullName);
     1926  Contacts.Sort(TComparer<TContact>.Construct(CompareContactFullName));
    19241927  for I := 0 to Contacts.Count - 1 do
    1925     Contacts[I].Properties.Sort(ComparePropertyName);
     1928    Contacts[I].Properties.Sort(TComparer<TContactProperty>.Construct(ComparePropertyName));
    19261929end;
    19271930
  • trunk/UDataFile.pas

    r127 r128  
    44
    55uses
    6   Classes, SysUtils, fgl;
     6  Classes, SysUtils, Generics.Collections;
    77
    88type
     
    3232  TDataFileClass = class of TDataFile;
    3333
    34   TDataFiles = class(TFPGObjectList<TDataFile>)
     34  TDataFiles = class(TObjectList<TDataFile>)
    3535  end;
    3636
  • trunk/UTest.pas

    r127 r128  
    44
    55uses
    6   Classes, SysUtils, fgl, UContact;
     6  Classes, SysUtils, Generics.Collections, UContact;
    77
    88type
     
    2626  { TTestCases }
    2727
    28   TTestCases = class(TFPGObjectList<TTestCase>)
     28  TTestCases = class(TObjectList<TTestCase>)
    2929    function AddNew(Name: string; TestClass: TTestCaseClass): TTestCase;
    3030  end;
  • trunk/vCardStudio.lpi

    r126 r128  
    6969          <Other>
    7070            <CompilerMessages>
    71               <IgnoredMessages idx6058="True" idx5024="True" idx3124="True" idx3123="True"/>
     71              <IgnoredMessages idx6058="True" idx5071="True" idx5024="True" idx3124="True" idx3123="True"/>
    7272            </CompilerMessages>
    7373          </Other>
     
    7575      </Item2>
    7676      <SharedMatrixOptions Count="2">
    77         <Item1 ID="186308868222" Targets="Common" Modes="Debug" Value="-g -gl -gh -CirotR -O1"/>
    78         <Item2 ID="035947176865" Targets="Common" Modes="Release" Value="-CX -XX -O3"/>
     77        <Item1 ID="186308868222" Targets="Common,SynEditEx" Modes="Debug" Value="-g -gl -gh -CirotR -O1"/>
     78        <Item2 ID="035947176865" Targets="Common,SynEditEx" Modes="Release" Value="-CX -XX -O3"/>
    7979      </SharedMatrixOptions>
    8080    </BuildModes>
     
    320320    <Other>
    321321      <CompilerMessages>
    322         <IgnoredMessages idx6058="True" idx5024="True" idx3124="True" idx3123="True"/>
     322        <IgnoredMessages idx6058="True" idx5071="True" idx5024="True" idx3124="True" idx3123="True"/>
    323323      </CompilerMessages>
    324324    </Other>
Note: See TracChangeset for help on using the changeset viewer.