Ignore:
Timestamp:
Feb 14, 2019, 10:52:04 PM (6 years ago)
Author:
chronos
Message:
  • Modified: User interface for the list of players moved to the separate form.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormNew.lfm

    r276 r279  
    2121    Top = 60
    2222    Width = 806
    23     ActivePage = TabSheetRules
     23    ActivePage = TabSheetPlayers
    2424    Align = alClient
    2525    BorderSpacing.Around = 4
    26     TabIndex = 3
     26    TabIndex = 1
    2727    TabOrder = 0
    2828    OnChange = PageControl1Change
     
    163163      object Panel2: TPanel
    164164        Left = 0
    165         Height = 652
     165        Height = 596
    166166        Top = 0
    167167        Width = 796
    168168        Align = alClient
    169169        BevelOuter = bvNone
    170         ClientHeight = 652
    171         ClientWidth = 796
    172170        TabOrder = 0
    173         object ListViewPlayers: TListView
    174           Left = 4
    175           Height = 602
    176           Top = 4
    177           Width = 788
    178           Align = alTop
    179           Anchors = [akTop, akLeft, akRight, akBottom]
    180           BorderSpacing.Around = 4
    181           Columns = <         
    182             item
    183               Caption = 'Name'
    184               Width = 200
    185             end         
    186             item
    187               Caption = 'Type'
    188               Width = 100
    189             end         
    190             item
    191               Caption = 'Color'
    192               Width = 100
    193             end         
    194             item
    195               Caption = 'Start units'
    196               Width = 790
    197             end>
    198           MultiSelect = True
    199           OwnerData = True
    200           PopupMenu = PopupMenuPlayers
    201           ReadOnly = True
    202           RowSelect = True
    203           TabOrder = 0
    204           ViewStyle = vsReport
    205           OnCustomDrawSubItem = ListViewPlayersCustomDrawSubItem
    206           OnData = ListViewPlayersData
    207           OnDblClick = ListViewPlayersDblClick
    208           OnKeyPress = ListViewPlayersKeyPress
    209           OnKeyUp = ListViewPlayersKeyUp
    210           OnSelectItem = ListViewPlayersSelectItem
    211         end
    212         object ButtonPlayerAdd: TButton
    213           Left = 16
    214           Height = 25
    215           Top = 614
    216           Width = 83
    217           Action = APlayerAdd
    218           Anchors = [akLeft, akBottom]
    219           TabOrder = 1
    220         end
    221         object ButtonPlayerModify: TButton
    222           Left = 120
    223           Height = 25
    224           Top = 614
    225           Width = 83
    226           Action = APlayerModify
    227           Anchors = [akLeft, akBottom]
    228           TabOrder = 2
    229         end
    230         object ButtonPlayerRemove: TButton
    231           Left = 224
    232           Height = 25
    233           Top = 614
    234           Width = 83
    235           Action = APlayerRemove
    236           Anchors = [akLeft, akBottom]
    237           TabOrder = 3
    238         end
    239171      end
    240172    end
     
    587519        object ComboBoxWinObjective: TComboBox
    588520          Left = 224
    589           Height = 38
     521          Height = 42
    590522          Top = 244
    591523          Width = 328
     
    765697    object ComboBoxGameSystem: TComboBox
    766698      Left = 176
    767       Height = 43
     699      Height = 42
    768700      Top = 9
    769701      Width = 254
     
    786718    left = 864
    787719    top = 216
    788     object APlayerModify: TAction
    789       Caption = 'Modify'
    790       OnExecute = APlayerModifyExecute
    791     end
    792     object APlayerAdd: TAction
    793       Caption = 'Add'
    794       OnExecute = APlayerAddExecute
    795     end
    796     object APlayerRemove: TAction
    797       Caption = 'Remove'
    798       OnExecute = APlayerRemoveExecute
    799     end
    800720    object AServerAdd: TAction
    801721      Caption = 'Add'
     
    814734    left = 864
    815735    top = 360
    816   end
    817   object PopupMenuPlayers: TPopupMenu
    818     left = 864
    819     top = 288
    820     object MenuItem1: TMenuItem
    821       Action = APlayerAdd
    822     end
    823     object MenuItem2: TMenuItem
    824       Action = APlayerModify
    825       Default = True
    826     end
    827     object MenuItem3: TMenuItem
    828       Action = APlayerRemove
    829     end
    830736  end
    831737  object PopupMenuServers: TPopupMenu
Note: See TracChangeset for help on using the changeset viewer.