Autor Beitrag
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Sa 09.10.04 11:09 
Hi,

ich bin seit längerem auf der Suche nach einer Unit, mit der ich die alten Turbo Pascal-Befehle wie ClrScr, Move, BackGroundColor etc. auch in einer normalen Delphi-Win32-Konsole machen kann.

Gibts so eine Unit und wenn ja wo?

THX AXMD
bobby
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 25

Win XP
D7 Prof
BeitragVerfasst: Sa 09.10.04 12:57 
crt_efd from EFD systems efd.home.mindspring.com
It also had a bug that is easy to repair. Download it first, and then search for code I'll post under and repair it like I did. I have reported this bug to EFD systems but i didn't receive any answer.

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
function ReadKey : Char;
  var
    I  : DWord;
    OK : Boolean;
  begin
    if LastKey=#0 then
      Result:=LastScan
    else begin
     {$ifdef VER120}
      with InRec.Event.KeyEvent do begin
     {$else}{$ifdef VER130}
      with InRec.Event.KeyEvent do begin
     {$else}
      with InRec.Event.KeyEvent do begin         // line fixed by Boban Spasic
     {$endif}{$endif}
        repeat
          repeat
          ...
AXMD Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Sa 09.10.04 13:04 
Wow, that's genious! Thank you very much.

AXMD