No Cursor? Possible?
Author |
Message |
Da_Big_Ticket
|
Posted: Thu Oct 06, 2005 4:04 pm Post subject: No Cursor? Possible? |
|
|
Im doing a turing assignment for school. The program requires an opening screen and i wanted to have it so that they would press any key to continue (which i know how to do) however, is there a way to make the flashing cursor go away, or at least on this screen? Thanks for your help.
DBT |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
beard0
![](http://ugray.be/compsci/silly.gif)
|
Posted: Thu Oct 06, 2005 4:09 pm Post subject: (No subject) |
|
|
code: | View.Set("nocursor") |
Also: Try using the Turing help file; A search for "cursor" does bring up this info. |
|
|
|
|
![](images/spacer.gif) |
Albrecd
|
Posted: Thu Nov 10, 2005 2:51 pm Post subject: (No subject) |
|
|
or setscreen ("nocursor")... but View.Set looks cooler ![Very Happy Very Happy](http://compsci.ca/v3/images/smiles/icon_biggrin.gif) |
|
|
|
|
![](images/spacer.gif) |
do_pete
![](http://i38.photobucket.com/albums/e112/do_pete/1943.gif)
|
Posted: Thu Nov 10, 2005 3:01 pm Post subject: (No subject) |
|
|
can go
code: | View.Set("nocursor")
Input.Pause
View.Det("cursor") |
|
|
|
|
|
![](images/spacer.gif) |
[Gandalf]
![](http://compsci.ca/v3/uploads/user_avatars/189297994e4c716fec7f1.png)
|
Posted: Thu Nov 10, 2005 4:13 pm Post subject: (No subject) |
|
|
View.Det?
Albrecd, how about keeping your replies limited to the first page of Turing Help? Anything this old doesn't need a reply like yours. |
|
|
|
|
![](images/spacer.gif) |
do_pete
![](http://i38.photobucket.com/albums/e112/do_pete/1943.gif)
|
Posted: Mon Nov 14, 2005 11:48 am Post subject: (No subject) |
|
|
my bad i meant View.Set not View.Det |
|
|
|
|
![](images/spacer.gif) |
The_Triangle
|
Posted: Thu Nov 24, 2005 5:59 am Post subject: (No subject) |
|
|
do_pete wrote: can go
code: | View.Set("nocursor")
Input.Pause
View.Det("cursor") |
what would the Input.Pause do ? |
|
|
|
|
![](images/spacer.gif) |
codemage
![](http://usera.imagecave.com/codemage/codemage-small.gif)
|
Posted: Thu Nov 24, 2005 1:10 pm Post subject: (No subject) |
|
|
Waits for a key to be pressed, then continues.
For an explanation of any command in Turing, type in the command, put the cursor on it, and then hit F9.
(Or F8 for a really brief contextual reference.) |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
The_Triangle
|
Posted: Thu Nov 24, 2005 4:01 pm Post subject: (No subject) |
|
|
codemage wrote: Waits for a key to be pressed, then continues.
For an explanation of any command in Turing, type in the command, put the cursor on it, and then hit F9.
(Or F8 for a really brief contextual reference.)
instead of a key to be pressed, could it wait for a mouse click? |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Thu Nov 24, 2005 4:12 pm Post subject: (No subject) |
|
|
The_Triangle wrote: instead of a key to be pressed, could it wait for a mouse click?
yes - buttonwait() |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
The_Triangle
|
Posted: Thu Nov 24, 2005 4:13 pm Post subject: (No subject) |
|
|
Tony wrote: The_Triangle wrote: instead of a key to be pressed, could it wait for a mouse click?
yes - buttonwait()
what would the parameters be ? |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Thu Nov 24, 2005 4:31 pm Post subject: (No subject) |
|
|
turing help wrote:
buttonwait (motion : string,
var x, y, buttonnumber, buttonupdown : int)
for example
Turing: |
put "click a mouse button"
var x, y, a, b : int
buttonwait ("up", x, y, a, b )
put "clicked on:", x, ":", y
|
|
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
|
|