AcidCorps Posted August 10, 2007 Share Posted August 10, 2007 Ok I have a script that uses GuiCtrlRemove to get rid of a variable but then it won't create it again As usual my script is quite long so I'll post the parts that matter expandcollapse popupGuiCtrlCreateGroup("Options", 5, 5, 100, 80) Global $Option1 = GuiCtrlCreateRadio("Option1", 10, 20, 90, 20) Global $Option2 = GuiCtrlCreateRadio("Option2", 10, 40, 90, 20) Global $Option3 = GuiCtrlCreateRadio("Option3", 10, 60, 90, 20)oÝ÷ Ù«¢+ÙÕ¥ ÑɱMÑ=¹Ù¹Ð ÀÌØí=ÁÑ¥½¸Ä°ÅÕ½ÐíÕ¹ÄÅÕ½Ðì¤)Õ¥ ÑɱMÑ=¹Ù¹Ð ÀÌØí=ÁÑ¥½¸È°ÅÕ½ÐíÕ¹ÈÅÕ½Ðì¤)Õ¥ ÑɱMÑ=¹Ù¹Ð ÀÌØí=ÁÑ¥½¸Ì°ÅÕ½ÐíÕ¹ÌÅÕ½Ðì¤oÝ÷ Ù«¢+ÙÕ¹Õ¹Ä ¤(%Õ¥ Ñɱ±Ñ ÀÌØí ÕÑѽ¸Ä¤(%Õ¥ Ñɱ±Ñ ÀÌØíɽÕÀ¤(%Õ¥ Ñɱ±Ñ ÀÌØíA¥¤(%%¥±á¥ÍÑÌ ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì¤Q¡¸¥±±Ñ ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì¤(%%¹ÑÐ ÅÕ½ÐíÝÝܹáµÁ±¹½´½±½¼¹¥ÅÕ½Ðì°ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì¤(%±½°ÀÌØí ÕÑѽ¸ÄôÕ¥ Ñɱ ÉÑ ÕÑѽ¸ ÅÕ½Ðí ÕÑѽ¸ÄÅÕ½Ðì°ÄÀÀ°ÄÈÀ°ÄÀÀ°ÈÀ¤(%±½°ÀÌØí ÕÑѽ¸ÈôÕ¥ Ñɱ ÉÑ ÕÑѽ¸ ÅÕ½Ðí ÕÑѽ¸ÈÅÕ½Ðì°ÈÄÀ°ÄÈÀ°ÄÀÀ°ÈÀ¤(±½°ÀÌØíɽÕÀôÕ¥ Ñɱ ÉÑɽÕÀ ÅÕ½ÐíɽÕÀÄÅÕ½Ðì°äÔ°ÄÔÔ°ÈäÀ°äÔ¤(%Õ¥MÑ - ½±½È Áá¤(%%¥±á¥ÍÑÌ ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì¤Q¡¸±½°ÀÌØíA¥ôÕ¥ Ñɱ ÉÑA¥ ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì°ÄÜÔ°Ô°ÄÈÔ°ØÔ¤)¹Õ¹()Õ¹Õ¹È ¤(%Õ¥ Ñɱ±Ñ ÀÌØí ÕÑѽ¸Ä¤(Õ¥ Ñɱ±Ñ ÀÌØí ÕÑѽ¸È¤(%Õ¥ Ñɱ±Ñ ÀÌØíɽÕÀ¤(%Õ¥ Ñɱ±Ñ ÀÌØíA¥¤(%%¥±á¥ÍÑÌ ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì¤Q¡¸¥±±Ñ ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì¤(%%¹ÑÐ ÅÕ½ÐíÝÝܹáµÁ±¹½´½±½¼¹¥ÅÕ½Ðì°ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì¤(%±½°ÀÌØí ÕÑѽ¸ÄôÕ¥ Ñɱ ÉÑ ÕÑѽ¸ ÅÕ½Ðí ÕÑѽ¸ÄÅÕ½Ðì°ÄÀÀ°ÄÈÀ°ÄÀÀ°ÈÀ¤(%±½°ÀÌØíɽÕÀôÕ¥ Ñɱ ÉÑɽÕÀ ÅÕ½ÐíɽÕÀÈÅÕ½Ðì°äÔ°ÄÔÔ°ÈäÀ°äÔ¤(%Õ¥MÑ - ½±½È Áá¤(%%¥±á¥ÍÑÌ ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì¤Q¡¸±½°ÀÌØíA¥ôÕ¥ Ñɱ ÉÑA¥ ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì°ÄÜÔ°Ô°ÄÈÔ°ØÔ¤)¹Õ¹()Õ¹Õ¹Ì ¤(%Õ¥ Ñɱ±Ñ ÀÌØí ÕÑѽ¸Ä¤(Õ¥ Ñɱ±Ñ ÀÌØí ÕÑѽ¸È¤(%Õ¥ Ñɱ±Ñ ÀÌØíɽÕÀ¤(%Õ¥ Ñɱ±Ñ ÀÌØíA¥¤(%%¥±á¥ÍÑÌ ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì¤Q¡¸¥±±Ñ ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì¤(%%¹ÑÐ ÅÕ½ÐíÝÝܹáµÁ±¹½´½±½¼¹¥ÅÕ½Ðì°ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì¤(%±½°ÀÌØí ÕÑѽ¸ÄôÕ¥ Ñɱ ÉÑ ÕÑѽ¸ ÅÕ½Ðí ÕÑѽ¸ÄÅÕ½Ðì°ÄÀÀ°ÄÈÀ°ÄÀÀ°ÈÀ¤(%±½°ÀÌØíɽÕÀôÕ¥ Ñɱ ÉÑɽÕÀ ÅÕ½ÐíɽÕÀÌÅÕ½Ðì°äÔ°ÄÔÔ°ÈäÀ°äÔ¤(%Õ¥MÑ - ½±½È Áá¤(%%¥±á¥ÍÑÌ ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì¤Q¡¸±½°ÀÌØíA¥ôÕ¥ Ñɱ ÉÑA¥ ÅÕ½Ðí1½¼¹¥ÅÕ½Ðì°ÄÜÔ°Ô°ÄÈÔ°ØÔ¤)¹Õ¹ So what is suppose to happen is when the radio button "Option1" is selected the GUI shows the information from Func1 then when "Option2" then Func2 Deletes the information from "Func1" is deleted and recreated with the information from Func2 and the same with Func3 and when Func1 is again selected it deletes the information from whichever other Func was last run Shot version when one function is ran I want it to delete what was left from the previous function and use the new information. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now