blinking cursor go away

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Stuhewing

blinking cursor go away

Post 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
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post 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.
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
stuhewing

Post by stuhewing »

Okay, so I added the 0 to all of the locate statements and the cursor is still there. :shock:
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
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post 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.
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
stuhewing

Post 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
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post 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 :-)
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
Patz QuickBASIC Creations
Veteran
Posts: 399
Joined: Wed Mar 02, 2005 9:01 pm
Location: Nashville, Tennessee
Contact:

Post 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
stuhewing

Post 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
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post 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...
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
PQBC at school

Post 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 :,( ).
Post Reply