Ignore:
Timestamp:
Nov 24, 2011, 10:03:48 AM (13 years ago)
Author:
chronos
Message:
  • Modified: Item list is separated from MainForm as ItemListForm.
  • Modified: Now it is possible to open multiple forms for same operation as View, Edit, Add, List. Open forms are listed in main windows tab list.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UMainForm.lfm

    r30 r31  
    180180      TabOrder = 0
    181181      OnChange = TreeView1Change
     182      OnDblClick = TreeView1DblClick
    182183      Options = [tvoAutoItemHeight, tvoHideSelection, tvoKeepCollapsedNodes, tvoReadOnly, tvoShowButtons, tvoShowLines, tvoShowRoot, tvoToolTips, tvoThemedDraw]
    183184    end
     
    193194    ClientWidth = 451
    194195    TabOrder = 1
    195     object Label2: TLabel
    196       Left = 2
    197       Height = 14
    198       Top = 4
    199       Width = 43
    200       Caption = 'Reports:'
    201       ParentColor = False
    202     end
    203     object ListView1: TListView
    204       Left = 2
    205       Height = 371
    206       Top = 19
    207       Width = 447
    208       Anchors = [akTop, akLeft, akRight, akBottom]
    209       Columns = <>
    210       OwnerData = True
    211       PopupMenu = PopupMenuItem
    212       ReadOnly = True
    213       RowSelect = True
     196    object PageControl1: TPageControl
     197      Left = 0
     198      Height = 427
     199      Top = 0
     200      Width = 451
     201      Align = alClient
    214202      TabOrder = 0
    215       ViewStyle = vsReport
    216       OnData = ListView1Data
    217       OnDblClick = ListView1DblClick
    218       OnKeyPress = ListView1KeyPress
    219       OnResize = ListView1Resize
    220       OnSelectItem = ListView1SelectItem
    221     end
    222     object ButtonAdd: TButton
    223       Left = 3
    224       Height = 25
    225       Top = 398
    226       Width = 75
    227       Action = AItemAdd
    228       Anchors = [akLeft, akBottom]
    229       TabOrder = 1
    230     end
    231     object ButtonDelete: TButton
    232       Left = 83
    233       Height = 25
    234       Top = 398
    235       Width = 75
    236       Action = AItemDelete
    237       Anchors = [akLeft, akBottom]
    238       TabOrder = 2
    239     end
    240     object ButtonView: TButton
    241       Left = 163
    242       Height = 25
    243       Top = 398
    244       Width = 75
    245       Action = AItemView
    246       Anchors = [akLeft, akBottom]
    247       TabOrder = 3
    248     end
    249     object ButtonEdit: TButton
    250       Left = 243
    251       Height = 25
    252       Top = 398
    253       Width = 75
    254       Action = AItemEdit
    255       Anchors = [akLeft, akBottom]
    256       TabOrder = 4
    257203    end
    258204  end
     
    267213    left = 360
    268214    top = 120
    269     object AItemDelete: TAction
    270       Category = 'Item'
    271       Caption = 'Delete'
    272       OnExecute = AItemDeleteExecute
    273       ShortCut = 16452
    274     end
    275     object AItemAdd: TAction
    276       Category = 'Item'
    277       Caption = 'Add'
    278       OnExecute = AItemAddExecute
    279       ShortCut = 16449
    280     end
    281     object AItemEdit: TAction
    282       Category = 'Item'
    283       Caption = 'Edit'
    284       OnExecute = AItemEditExecute
    285       ShortCut = 16453
    286     end
    287     object AItemView: TAction
    288       Category = 'Item'
    289       Caption = 'View'
    290       OnExecute = AItemViewExecute
    291       ShortCut = 16470
    292     end
    293215    object AObjectGroupDelete: TAction
    294216      Category = 'ObjectGroup'
     
    356278    top = 120
    357279    object MenuItem1: TMenuItem
    358       Action = AItemView
     280      Caption = 'View'
    359281      Default = True
    360       OnClick = AItemViewExecute
     282      ShortCut = 16470
    361283    end
    362284    object MenuItem4: TMenuItem
    363       Action = AItemEdit
    364       OnClick = AItemEditExecute
     285      Caption = 'Edit'
     286      ShortCut = 16453
    365287    end
    366288    object MenuItem3: TMenuItem
    367       Action = AItemDelete
     289      Caption = 'Delete'
     290      ShortCut = 16452
    368291    end
    369292    object MenuItem2: TMenuItem
    370       Action = AItemAdd
    371       OnClick = AItemAddExecute
     293      Caption = 'Add'
     294      ShortCut = 16449
    372295    end
    373296  end
Note: See TracChangeset for help on using the changeset viewer.