GUI Sliders
Author |
Message |
scuff
|
Posted: 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
|
|
|
Tony
|
|
|
|
|
shorthair
|
Posted: 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
|
|
|
|
|
TheXploder
|
Posted: Tue Feb 17, 2004 10:59 pm Post subject: (No subject) |
|
|
lol, shorthair is there a Turing 5? Yeah works fine... |
|
|
|
|
|
shorthair
|
Posted: 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
|
Posted: 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 |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
|
shorthair
|
Posted: 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 |
|
|
|
|
|
Sponsor Sponsor
|
|
|
scuff
|
Posted: 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
|
Posted: 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
|
Posted: 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 |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
shorthair
|
|
|
|
|
|
|