Changeset 218 for trunk/Forms/UFormNew.pas
- Timestamp:
- Jun 6, 2018, 12:23:25 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.