
-----------------------------------
shakin cookie
Tue Jan 08, 2008 4:41 pm

my GUI is messed up!
-----------------------------------
ok, there is a very big problem happening with my program:

My code involves GUI.  at the top, i wrote "import GUI".

When i run the program, it says that GUI is not a unit.

also, when i run it, another completely different program appears.

what is happening?!?!?!

-----------------------------------
shakin cookie
Tue Jan 08, 2008 5:06 pm

RE:my GUI is messed up!
-----------------------------------
replies would be appreciated!

-----------------------------------
HeavenAgain
Tue Jan 08, 2008 6:13 pm

RE:my GUI is messed up!
-----------------------------------
all i can say is, [url=http://compsci.ca/v3/viewtopic.php?t=16034]Don't use Turing's GUI
but instead, you could make your own creative little buttons and just add in the mousewhere or whatever

-----------------------------------
shakin cookie
Tue Jan 08, 2008 6:42 pm

RE:my GUI is messed up!
-----------------------------------
but turing's GUI is required in the project

-----------------------------------
HeavenAgain
Tue Jan 08, 2008 6:59 pm

RE:my GUI is messed up!
-----------------------------------
well in that case, try something called GUI.Disable (buttonName) or something like GUI.Refresh (buttonName)
see if that helps

-----------------------------------
ericfourfour
Tue Jan 08, 2008 7:59 pm

RE:my GUI is messed up!
-----------------------------------
I tested it and it ran fine on Turing 4.0.5 and Turing 4.1.1a. I have two suggestions. First you should try restarting Turing. Second you can check your Turing directory and see if "support\lib\gui" exists.

Also, in your goodBye procedure you should add a GUI.Quit ().

-----------------------------------
shakin cookie
Tue Jan 08, 2008 8:32 pm

RE:my GUI is messed up!
-----------------------------------
first of all, how do you restart Turing?

second, how do i check the turing directory.

and third, what should i do if "support/lib/gui" exists?

-----------------------------------
shakin cookie
Tue Jan 08, 2008 9:44 pm

RE:my GUI is messed up!
-----------------------------------
i am still very confused, and turing is still returning another program all together when i run the program.

HELP!

-----------------------------------
ericfourfour
Tue Jan 08, 2008 10:01 pm

RE:my GUI is messed up!
-----------------------------------
1. Close Turing and then run Turing.
2. Wherever you installed Turing.
3. It is supposed to exist. If it doesn't you need to either reinstall Turing or get another copy of the GUI (it's LGPL so anyone can redistribute it to you). If it does exist and it still does not work, there is probably a problem with permissions.

Your best bet would be to go to the holtsoft homepage and download the latest version of Turing (4.1.1a).

It is opening another window (not a program) because it cannot find the GUI module.

-----------------------------------
shakin cookie
Wed Jan 09, 2008 4:32 pm

RE:my GUI is messed up!
-----------------------------------
hey, thanks eric!  all i needed to do was get the newer version of turing.  Thanks!
