Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Draw.ThickLine help file is a little confusing
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
goroyoshi




PostPosted: Sun Apr 03, 2011 5:54 pm   Post subject: Draw.ThickLine help file is a little confusing

Does View.set or setscreen have to be set to "graphics" because i have it now at "offscreenonly,nobuttonbar" and it works
Sponsor
Sponsor
Sponsor
sponsor
CastlevaniaBird




PostPosted: Sun Apr 03, 2011 5:57 pm   Post subject: Re: Draw.ThickLine help file is a little confusing

Turing:


setscreen ("graphics:512,256")


makes the window 512x256, but I think View.Update just goes in on it's own.

Otherwise, I'm not sure what you're asking - Sorry if I couldn't help.
goroyoshi




PostPosted: Sun Apr 03, 2011 5:59 pm   Post subject: RE:Draw.ThickLine help file is a little confusing

not what i was asking at all thanks for trying, i was asking :
if i use Draw.ThickLine, does it have to be set to graphics
Raknarg




PostPosted: Sun Apr 03, 2011 6:03 pm   Post subject: RE:Draw.ThickLine help file is a little confusing

No, I'm pretty sure the newer version of Turing sets the mode to "graphics" if you call a draw function... what was the code you had before?
CastlevaniaBird




PostPosted: Sun Apr 03, 2011 6:03 pm   Post subject: RE:Draw.ThickLine help file is a little confusing

Ohhh.

I don't think so - Draw.ThickLine is just like Draw.Box or Draw.Line...

http://compsci.ca/holtsoft/doc/draw_thickline.html

Try that.
goroyoshi




PostPosted: Sun Apr 03, 2011 6:17 pm   Post subject: RE:Draw.ThickLine help file is a little confusing

my code pretty much was

code:

setscreen ("offscreenonly,nobuttonbar")
...
Draw.ThickLine
Raknarg




PostPosted: Sun Apr 03, 2011 6:18 pm   Post subject: RE:Draw.ThickLine help file is a little confusing

You used View.Update, right?
goroyoshi




PostPosted: Sun Apr 03, 2011 6:48 pm   Post subject: RE:Draw.ThickLine help file is a little confusing

ya i did
Sponsor
Sponsor
Sponsor
sponsor
Zren




PostPosted: Mon Apr 04, 2011 5:09 pm   Post subject: RE:Draw.ThickLine help file is a little confusing

Turing might have originally required you to set the mode as graphics, however in all the copies I've seen, it's already in graphics mode as default.

So to answer your question. No.

The alternate mode is:

View.Set("text")

Will give you the scrollbar with selectable text.
DemonWasp




PostPosted: Mon Apr 04, 2011 5:45 pm   Post subject: RE:Draw.ThickLine help file is a little confusing

Turing Documentation for View.Set wrote:
The default graphics mode is defined in the Turing preferences. It is good practice to set the desired mode so that the program will function properly regardless of thedefault graphics mode.


See here: View.Set documentation.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 10 Posts ]
Jump to:   


Style:  
Search: