Computer Science Canada

GUI button problems

Author:  Regole [ Fri Nov 14, 2003 1:47 pm ]
Post subject:  GUI button problems

i am having problems with the GUI buttons that my program is using,every time i enter another screen without the buttons the user is still able to click on them,even though they cannot see them, is there any way to fix these invisable buttons? cls and GUI.Refresh do not work.

Author:  Tony [ Fri Nov 14, 2003 2:25 pm ]
Post subject: 

just drawing over the buttons will not get rid of them Rolling Eyes

you would need to ether disable the button (if you want to use it again later) or unload it to get rid of the button completely.

Author:  Master [ Fri Nov 14, 2003 3:26 pm ]
Post subject: 

what you have to do the buttons is that you have to disable them:
GUI.Dispose (variable name of button)
(i have used it so i know it works)
or just to disable
GUI.Disable (variable name of button)

When you dont know how to...
just ask, and you'll be done to...


: