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

Username:   Password: 
 RegisterRegister   
 GUI Sliders
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
scuff




PostPosted: Tue Feb 17, 2004 4:11 pm   Post subject: GUI Sliders

I am trying to run a GUI slider and I am getting majorly pissed off.
This is my script can anyone help me.

code:


import GUI in "%oot/lib/GUI"

var w : int := Window.Open ("fullscreen")
Window.Set (w, "graphics:svga,nocursor,echo")

procedure Slide (sliderValue : int)
    put sliderValue
end Slide

drawfill (1, 1, 27, 27)

var textBox1 : int
textBox1 := GUI.CreateTextBox (50, 75, maxx - 100, 400)
var slider : int := GUI.CreateHorizontalSlider (150, 30, 500, 1, 7, 3, Slide)

GUI.Enable (slider)

loop
    exit when GUI.ProcessEvent
end loop
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Tue Feb 17, 2004 5:35 pm   Post subject: (No subject)

lol Laughing works perfectly fine for me Confused
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
shorthair




PostPosted: Tue Feb 17, 2004 8:53 pm   Post subject: (No subject)

are you using turing 5 , you hould be , this might be the cause of hte problem , as some commands are not implemented properly
Tony




PostPosted: Tue Feb 17, 2004 9:09 pm   Post subject: (No subject)

i ran that in v4.0.5 and it works fine Confused
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
TheXploder




PostPosted: Tue Feb 17, 2004 10:59 pm   Post subject: (No subject)

lol, shorthair is there a Turing 5? Yeah works fine...
shorthair




PostPosted: Tue Feb 17, 2004 11:11 pm   Post subject: (No subject)

yes , turing 4.0.5 , also known as turing 5 ( what it say when it installs ) and its free from holtsoft
Dan




PostPosted: Wed Feb 18, 2004 11:16 am   Post subject: (No subject)

that is free if your school has a disrobution lices, eltes it is an illgieae copy but from the poleop who make it Thinking
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
shorthair




PostPosted: Wed Feb 18, 2004 3:37 pm   Post subject: (No subject)

the link that compsci host , for the update ( updates are free ) holds everything needed to run turing , all you need is to have a turing .exe on your computer already and i t detects it and does a full install , else it says you need a previous vrsion of turing
scuff




PostPosted: Wed Feb 18, 2004 5:43 pm   Post subject: (No subject)

Thanks for the tips.

I'm only running 3.1.1

It just didn't seem to work as it did in the example code I found.
shorthair




PostPosted: Wed Feb 18, 2004 10:05 pm   Post subject: (No subject)

most things will not work proprerly that are posted here , in turing 3.11 , to be able to get everything from compsci you gotta update
Tony




PostPosted: Wed Feb 18, 2004 10:08 pm   Post subject: (No subject)

i think there's a link somewhere on the main page to v4.0.5
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
shorthair




PostPosted: Wed Feb 18, 2004 10:11 pm   Post subject: (No subject)

http://www.holtsoft.com/transfer/turing405_install.exe

there she be
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  [ 12 Posts ]
Jump to:   


Style:  
Search: