
-----------------------------------
scuff
Tue Feb 17, 2004 4:11 pm

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.



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


-----------------------------------
Tony
Tue Feb 17, 2004 5:35 pm


-----------------------------------
lol :lol: works perfectly fine for me :?

-----------------------------------
shorthair
Tue Feb 17, 2004 8:53 pm


-----------------------------------
are you using turing 5 , you hould be , this might be the cause of hte problem , as some commands are not implemented properly

-----------------------------------
Tony
Tue Feb 17, 2004 9:09 pm


-----------------------------------
i ran that in v4.0.5 and it works fine :?

-----------------------------------
TheXploder
Tue Feb 17, 2004 10:59 pm


-----------------------------------
lol, shorthair is there a Turing 5? Yeah works fine...

-----------------------------------
shorthair
Tue Feb 17, 2004 11:11 pm


-----------------------------------
yes , turing 4.0.5 , also known as turing 5 ( what it say when it installs ) and its free from holtsoft

-----------------------------------
Dan
Wed Feb 18, 2004 11:16 am


-----------------------------------
that is free if your school has a disrobution lices, eltes it is an illgieae copy but from the poleop who make it  :think:

-----------------------------------
shorthair
Wed Feb 18, 2004 3:37 pm


-----------------------------------
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
Wed Feb 18, 2004 5:43 pm


-----------------------------------
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
Wed Feb 18, 2004 10:05 pm


-----------------------------------
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
Wed Feb 18, 2004 10:08 pm


-----------------------------------
i think there's a link somewhere on the main page to v4.0.5

-----------------------------------
shorthair
Wed Feb 18, 2004 10:11 pm


-----------------------------------
http://www.holtsoft.com/transfer/turing405_install.exe

there she be
