Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!tut!funic!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi LASK) Newsgroups: comp.lang.pascal Subject: Re: changing the cursor character in Turbo Pascal Message-ID: <1990Aug8.062325.19581@uwasa.fi> Date: 8 Aug 90 06:23:25 GMT References: <3979@rex.cs.tulane.edu> Organization: University of Vaasa Lines: 25 In article <3979@rex.cs.tulane.edu> lang@rex.cs.tulane.edu (Raymond Lang) writes: > >How do you change the cursor character in Turbo Pascal version 3? > >What I want to do is change it to a space (i.e., make it invisible) >and then for certain parts of the program change it back to an >underline (make it visible again). This may sound glib, but is not intended so. You change cursor *size* in TP 3.0 in the same way as you would in 4.0, 5.0, and 5.5. For the code see almost any good TP book, such as O'Brien, Turbo Pascal, the Complete Reference, Borland Osborne. And the cursor is not made up of characters at all, but of what is called scan lines. You also really get a newer version of TP, because you'll also have to detect the video adapter (if you want to make your routine general). These things are much easier under the later versions. Also, if you have 4.0, 5.0, or 5.5 you don't have to write the cursor routine at all, because there are PD units around that contain the code all ready. One (/pc/ts/tspas21.arc) can be anonymous ftp from our site. ................................................................... Prof. Timo Salmi (Moderating at anon. ftp site 128.214.12.3) School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun