Ignore:
Timestamp:
May 16, 2018, 9:56:24 AM (6 years ago)
Author:
chronos
Message:
  • Added: Allow to manage list of servers where to connect as client.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormNew.lfm

    r194 r196  
    2121    Top = 4
    2222    Width = 1061
    23     ActivePage = TabSheet2
     23    ActivePage = TabSheetMode
    2424    Align = alClient
    2525    BorderSpacing.Around = 4
    26     TabIndex = 2
     26    TabIndex = 0
    2727    TabOrder = 0
    2828    object TabSheetMode: TTabSheet
    2929      Caption = 'Mode'
    30       ClientHeight = 297
    31       ClientWidth = 759
     30      ClientHeight = 523
     31      ClientWidth = 1053
    3232      object RadioButtonModeLocal: TRadioButton
    3333        Left = 10
     
    9090      object ListViewServers: TListView
    9191        Left = 26
    92         Height = 97
     92        Height = 291
    9393        Top = 181
    94         Width = 326
     94        Width = 334
    9595        Anchors = [akTop, akLeft, akBottom]
    9696        Columns = <       
     
    103103            Width = 200
    104104          end>
     105        MultiSelect = True
     106        OwnerData = True
     107        PopupMenu = PopupMenuServers
     108        ReadOnly = True
     109        RowSelect = True
    105110        TabOrder = 5
    106111        ViewStyle = vsReport
     112        OnData = ListViewServersData
     113        OnDblClick = AServerModifyExecute
     114        OnKeyPress = ListViewServersKeyPress
     115        OnSelectItem = ListViewServersSelectItem
     116      end
     117      object Button1: TButton
     118        Left = 27
     119        Height = 31
     120        Top = 484
     121        Width = 94
     122        Action = AServerAdd
     123        Anchors = [akLeft, akBottom]
     124        TabOrder = 6
     125      end
     126      object Button2: TButton
     127        Left = 240
     128        Height = 31
     129        Top = 484
     130        Width = 94
     131        Action = AServerRemove
     132        Anchors = [akLeft, akBottom]
     133        TabOrder = 7
     134      end
     135      object Button3: TButton
     136        Left = 136
     137        Height = 30
     138        Top = 484
     139        Width = 94
     140        Action = AServerModify
     141        Anchors = [akLeft, akBottom]
     142        TabOrder = 8
    107143      end
    108144    end
     
    137173          end>
    138174        OwnerData = True
    139         PopupMenu = PopupMenu1
     175        PopupMenu = PopupMenuPlayers
    140176        ReadOnly = True
    141177        RowSelect = True
     
    557593  object ActionList1: TActionList
    558594    Images = Core.ImageListSmall
    559     left = 256
    560     top = 440
     595    left = 568
     596    top = 296
    561597    object APlayerModify: TAction
    562598      Caption = 'Modify player'
     
    571607      OnExecute = APlayerRemoveExecute
    572608    end
     609    object AServerAdd: TAction
     610      Caption = 'Add'
     611      OnExecute = AServerAddExecute
     612    end
     613    object AServerRemove: TAction
     614      Caption = 'Remove'
     615      OnExecute = AServerRemoveExecute
     616    end
     617    object AServerModify: TAction
     618      Caption = 'Modify'
     619      OnExecute = AServerModifyExecute
     620    end
    573621  end
    574622  object OpenPictureDialog1: TOpenPictureDialog
    575     left = 424
    576     top = 440
    577   end
    578   object PopupMenu1: TPopupMenu
    579     left = 128
    580     top = 440
     623    left = 568
     624    top = 360
     625  end
     626  object PopupMenuPlayers: TPopupMenu
     627    left = 568
     628    top = 232
    581629    object MenuItem1: TMenuItem
    582630      Action = APlayerAdd
     
    590638    end
    591639  end
     640  object PopupMenuServers: TPopupMenu
     641    left = 121
     642    top = 317
     643    object MenuItem4: TMenuItem
     644      Action = AServerAdd
     645    end
     646    object MenuItem6: TMenuItem
     647      Action = AServerModify
     648    end
     649    object MenuItem5: TMenuItem
     650      Action = AServerRemove
     651    end
     652  end
    592653end
Note: See TracChangeset for help on using the changeset viewer.