Computer Science Canada

GUI Sliders

Author:  scuff [ 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

Author:  Tony [ Tue Feb 17, 2004 5:35 pm ]
Post subject: 

lol Laughing works perfectly fine for me Confused

Author:  shorthair [ Tue Feb 17, 2004 8:53 pm ]
Post subject: 

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

Author:  Tony [ Tue Feb 17, 2004 9:09 pm ]
Post subject: 

i ran that in v4.0.5 and it works fine Confused

Author:  TheXploder [ Tue Feb 17, 2004 10:59 pm ]
Post subject: 

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

Author:  shorthair [ Tue Feb 17, 2004 11:11 pm ]
Post subject: 

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

Author:  Dan [ Wed Feb 18, 2004 11:16 am ]
Post 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

Author:  shorthair [ Wed Feb 18, 2004 3:37 pm ]
Post 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

Author:  scuff [ Wed Feb 18, 2004 5:43 pm ]
Post 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.

Author:  shorthair [ Wed Feb 18, 2004 10:05 pm ]
Post 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

Author:  Tony [ Wed Feb 18, 2004 10:08 pm ]
Post subject: 

i think there's a link somewhere on the main page to v4.0.5

Author:  shorthair [ Wed Feb 18, 2004 10:11 pm ]
Post subject: 

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

there she be


: