Page 1 of 1
blinking cursor go away
Posted: Tue Nov 01, 2005 4:06 pm
by Stuhewing
Hi all,
I've a question about a blinking cursor problem.... Hopefully I can explain this clear enough:
I'm writing a program in PDS 7.1 and when I run the program, wherever the "pointer" is on the screen, the blinking cursor shows up on the left hand side (edge of the screen) and follows the pointers movement up and down (thankfully not right and left). Do any of you know how to make the blinking cursor go away? Oh, and this is when the program is run under Win 98SE.
Thanks for any help.
- Stu
Posted: Tue Nov 01, 2005 4:17 pm
by MystikShadows
LOCATE has a third parameter which when set to 0 will turn the cursor off and when set to 1 will turn it back on.
Hence LOCATE ,,0 will turn the cursor off and LOCATE ,,1 will turn i back on.
Posted: Tue Nov 01, 2005 9:41 pm
by stuhewing
Okay, so I added the 0 to all of the locate statements and the cursor is still there.
But I also noticed that it is only when you run it in a window. I'm assuming this cannot be overcome and in order to completely get rid of the cursor you would have to run the program in full screen mode.
Is this so? And also, thank you for your help.
- Stu
Posted: Tue Nov 01, 2005 9:53 pm
by MystikShadows
Hmmmm...well...it might depend on which OS you're running it under...me, on my XP Pro, the LOCATE ,, 0 works well and I don't see a cursor. Hmmm...that should work I think.
You can try it in full screen mode just to see (run it then press ALT + Enter to go to full screen mode and see if you still have the cursor). and let me know...and let me know which OS you have as well see if there isn't somekind of workaround possible.
Posted: Wed Nov 02, 2005 9:27 am
by stuhewing
I'm running it under Win98SE. In windowed mode the cursor is still there. In full screen mode it isn't.
Thanks for your help
- Stu
Posted: Wed Nov 02, 2005 9:29 am
by MystikShadows
ok....just out of curiosity, could anyone else, that's using Windows 98 SE try this..Windows 95 and Windows ME too...just to see

Posted: Wed Nov 02, 2005 6:22 pm
by Patz QuickBASIC Creations
LOCATE ,,0 works on 98SE, assuming that the cursor is not locked (ex. a loop that has LOCATE x,y,1) Haven't tested on ME, but will soon
Posted: Sat Nov 05, 2005 8:26 pm
by stuhewing
Something I neglected to mention.... I'm using the WIDTH ,50 statement. Would this make a difference as far as it still not working for me?
thanks
- Stu
Posted: Sat Nov 05, 2005 11:23 pm
by MystikShadows
Best thing to tell yuo is to give it a try without the statement...me any width statement seem to work as expected...
Posted: Tue Nov 08, 2005 1:15 pm
by PQBC at school
If you're using WIDTH ,50 in Windows 98, why the hell are you running it in a window? I use ECLIPSE (PQBC's TUI proect) in WIDTH 80,43 (same as WIDTH ,50, for some reason) and there is no cursor. Oh, I can't test it now since I am on a crappy school MAC ( not even OS X :,( ).