Board index » delphi » hidecursor

hidecursor

Can anyone complete this little program for me

program hide_cursor
uses crt,views
begin
   write('There should ne no cursor at the end of this line')'
    {missing line or lines go here}
   readkey;
end.

and my thanks to dale palmer for his suggestion of giving the cursor the
same color as the textbackground but it was not what i really wanted.

thanks Jim Hall, Southport UK (E...@dial.pipex.com)

 

Re:hidecursor


Can anyone complete this little program for me

program hide_cursor
uses crt,views
begin
   write('There should ne no cursor at the end of this line')'
    {missing line or lines go here}
   readkey;
end.

and my thanks to dale palmer for his suggestion of giving the cursor the
same color as the textbackground but it was not what i really wanted.

thanks Jim Hall, Southport UK (E...@dial.pipex.com)

Re:hidecursor


In article <4mdavl$...@soap.news.pipex.net>,
Jim Hall  <e...@dial.pipex.com> wrote:
:Can anyone complete this little program for me
:
:program hide_cursor

Please see

 98459 Apr 28 08:24 ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip
 tsfaqp.zip Common Turbo Pascal Questions and Timo's answers

   All the best, Timo

....................................................................
Prof. Timo Salmi   Co-moderator of news:comp.archives.msdos.announce
Moderating at ftp:// & http://garbo.uwasa.fi archives  193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa
t...@uwasa.fi http://uwasa.fi/~ts BBS 961-3170972; FIN-65101,  Finland

Re:hidecursor


Quote
t...@reimari.uwasa.fi (Timo Salmi) wrote:
>In article <4mdavl$...@soap.news.pipex.net>,
>Jim Hall  <e...@dial.pipex.com> wrote:
>:Can anyone complete this little program for me
>:
>:program hide_cursor
>Please see
> 98459 Apr 28 08:24 ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip
> tsfaqp.zip Common Turbo Pascal Questions and Timo's answers
>   All the best, Timo
>....................................................................
>Prof. Timo Salmi   Co-moderator of news:comp.archives.msdos.announce
>Moderating at ftp:// & http://garbo.uwasa.fi archives  193.166.120.5
>Department of Accounting and Business Finance  ; University of Vaasa
>t...@uwasa.fi http://uwasa.fi/~ts BBS 961-3170972; FIN-65101,  Finland

How about a bit of built-in assembler to avoid the mess and loss of
memory caused by Unit Dos?

try this:

Procedure Hide_Cursor; Assembler;
asm
  mov ah,01h
  mov cx,2000h
  int 10h
end;

That's it ! plus you don't have to use the Dos Unit...
Hope it works for you - Ravid Rosen-Tal; ra...@ibm.net

Other Threads