Changeset 55 for trunk/Forms/UFormPlayer.pas
- Timestamp:
- Aug 18, 2014, 9:34:15 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormPlayer.pas
r29 r55 25 25 { private declarations } 26 26 public 27 procedure Translate; 27 28 procedure Load(Player: TPlayer); 28 29 procedure Save(Player: TPlayer); … … 36 37 {$R *.lfm} 37 38 39 resourcestring 40 SHuman = 'Human'; 41 SComputer = 'Computer'; 42 38 43 { TFormPlayer } 44 45 procedure TFormPlayer.Translate; 46 var 47 LastIndex: Integer; 48 begin 49 with ComboBox1 do begin 50 LastIndex := ItemIndex; 51 Clear; 52 Items.Add(SHuman); 53 Items.Add(SComputer); 54 ItemIndex := LastIndex; 55 end; 56 end; 39 57 40 58 procedure TFormPlayer.Load(Player: TPlayer);
Note:
See TracChangeset
for help on using the changeset viewer.