Changeset 218 for trunk/Forms
- Timestamp:
- Jun 6, 2018, 12:23:25 AM (6 years ago)
- Location:
- trunk/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormNew.lfm
r212 r218 39 39 OnChange = RadioButtonModeLocalChange 40 40 TabOrder = 0 41 TabStop = True 41 42 end 42 43 object RadioButtonModeNetworkServer: TRadioButton … … 173 174 Width = 790 174 175 end> 176 MultiSelect = True 175 177 OwnerData = True 176 178 PopupMenu = PopupMenuPlayers … … 557 559 end 558 560 object TabSheetCaptureCells: TTabSheet 559 ClientHeight = 7 2560 ClientWidth = 71 4561 ClientHeight = 74 562 ClientWidth = 716 561 563 object Label14: TLabel 562 564 Left = 8 … … 579 581 end 580 582 object TabSheetStayAliveTurns: TTabSheet 581 ClientHeight = 7 2582 ClientWidth = 71 4583 ClientHeight = 74 584 ClientWidth = 716 583 585 object Label13: TLabel 584 586 Left = 8 -
trunk/Forms/UFormNew.pas
r207 r218 410 410 411 411 procedure TFormNew.APlayerRemoveExecute(Sender: TObject); 412 begin 413 if Assigned(ListViewPlayers.Selected) then begin 414 Players.Remove(ListViewPlayers.Selected.Data); 415 ReloadView; 416 end; 412 var 413 I: Integer; 414 begin 415 for I := ListViewPlayers.Items.Count - 1 downto 0 do 416 if ListViewPlayers.Items[I].Selected then begin 417 Players.Remove(ListViewPlayers.Items[I].Data); 418 end; 419 ReloadView; 417 420 end; 418 421
Note:
See TracChangeset
for help on using the changeset viewer.