Ignore:
Timestamp:
Feb 9, 2022, 3:51:26 PM (2 years ago)
Author:
chronos
Message:
  • Added: Support for profile photo as URL.
  • Added: New UContactImage form to show profile photo in bigger size and with URL.
  • Modified: Profile photo image load/save handling moved to separate unit UContactImage.
  • Fixed: Some dynamically created forms were not translated.
  • Added: Remember last used file name for image open/save dialog.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormContact.lfm

    r102 r103  
    11object FormContact: TFormContact
    2   Left = 1121
     2  Left = 1063
    33  Height = 773
    4   Top = 472
     4  Top = 449
    55  Width = 1032
    66  Caption = 'Contact'
     
    1818    Top = 8
    1919    Width = 1009
    20     ActivePage = TabSheetWork
     20    ActivePage = TabSheetGeneral
    2121    Anchors = [akTop, akLeft, akRight, akBottom]
    2222    ParentFont = False
    23     TabIndex = 2
     23    TabIndex = 0
    2424    TabOrder = 0
    2525    object TabSheetGeneral: TTabSheet
     
    132132        Width = 216
    133133        Center = True
    134         OnClick = APhotoLoadExecute
     134        OnClick = ImagePhotoClick
    135135        PopupMenu = PopupMenuPhoto
    136136        Proportional = True
     
    150150        Top = 25
    151151        Width = 486
     152        OnChange = EditFullNameChange
    152153        ParentFont = False
    153154        TabOrder = 0
     
    13901391  object ActionList1: TActionList
    13911392    Images = Core.ImageList1
    1392     Left = 617
    1393     Top = 550
     1393    Left = 632
     1394    Top = 608
    13941395    object APhotoLoad: TAction
    13951396      Caption = 'Load from file'
     
    14041405      OnExecute = APhotoClearExecute
    14051406    end
     1407    object APhotoShow: TAction
     1408      Caption = 'Show'
     1409      OnExecute = APhotoShowExecute
     1410    end
     1411    object APhotoSetUrl: TAction
     1412      Caption = 'Set URL'
     1413      OnExecute = APhotoSetUrlExecute
     1414    end
    14061415  end
    14071416  object PopupMenuPhoto: TPopupMenu
    14081417    Images = Core.ImageList1
    1409     Left = 872
    1410     Top = 592
     1418    Left = 864
     1419    Top = 608
     1420    object MenuItem4: TMenuItem
     1421      Action = APhotoShow
     1422    end
    14111423    object MenuItem1: TMenuItem
    14121424      Action = APhotoLoad
     
    14171429    object MenuItem3: TMenuItem
    14181430      Action = APhotoClear
     1431    end
     1432    object MenuItem5: TMenuItem
     1433      Action = APhotoSetUrl
    14191434    end
    14201435  end
Note: See TracChangeset for help on using the changeset viewer.