Changeset 220 for branches/CpuSingleSize/Forms/UFormConsole.pas
- Timestamp:
- Oct 20, 2020, 1:10:09 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CpuSingleSize/Forms/UFormConsole.pas
r216 r220 13 13 { TFormConsole } 14 14 15 TFormConsole = class(TForm )15 TFormConsole = class(TFormDevice) 16 16 MemoConsole: TMemo; 17 17 Timer1: TTimer; … … 20 20 procedure MemoConsoleKeyPress(Sender: TObject; var Key: char); 21 21 procedure Timer1Timer(Sender: TObject); 22 private 23 22 protected 23 function GetDevice: TDevice; override; 24 procedure SetDevice(AValue: TDevice); override; 24 25 public 25 26 Console: TConsole; … … 55 56 end; 56 57 58 function TFormConsole.GetDevice: TDevice; 59 begin 60 Result := Console; 61 end; 62 63 procedure TFormConsole.SetDevice(AValue: TDevice); 64 begin 65 if AValue is TConsole then 66 Console := TConsole(AValue); 67 end; 68 57 69 procedure TFormConsole.MemoConsoleKeyPress(Sender: TObject; var Key: char); 58 70 begin
Note:
See TracChangeset
for help on using the changeset viewer.