Computer Science Canada Buttons Help |
Author: | elmocookies [ Mon Jan 01, 2007 2:07 pm ] | ||
Post subject: | Buttons Help | ||
I have created a program which uses buttons to navigate. The buttons appear in some procedures but they dont work. Here what I have so far.
Any ideas as to how I can fix that? |
Author: | tridi [ Mon Jan 01, 2007 5:32 pm ] | ||
Post subject: | |||
I got your buttons to work =D
add the three last lines after your buttons. The program still doesn't work properly, though. =| tell me when you're finished, i'm still trying to finish mine... |
Author: | tridi [ Mon Jan 01, 2007 5:46 pm ] | ||
Post subject: | |||
Actually, instead of "GUI.Refresh" put GUI.Show (buttonname) instead. Then put the following code in each procedure that has a button.
|
Author: | elmocookies [ Mon Jan 01, 2007 9:10 pm ] |
Post subject: | |
That works, but when the program exits an error message appears saying: An error was found in "WidgetModule.tu". [/quote] |
Author: | tridi [ Mon Jan 01, 2007 9:14 pm ] |
Post subject: | |
Ya, I have the same problem. I asked the teacher about it, but she said she doesn't know what the problem is. I'm leaving it for now. |
Author: | elmocookies [ Mon Jan 01, 2007 9:23 pm ] |
Post subject: | |
Ok nevermind then I'm done that. Thanks. |
Author: | CodeMonkey2000 [ Mon Jan 01, 2007 9:36 pm ] | ||
Post subject: | |||
I think that happens because when you cole the window the code is still in this loop:
|
Author: | CodeMonkey2000 [ Mon Jan 01, 2007 9:37 pm ] |
Post subject: | |
you need some way of exiting it |