Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / BlueGUI Window Method

Author
Message
vorconan
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Wales
Posted: 2nd Jul 2007 23:34
Hi, I'm using BlueGUI and am currently creating a level editor. What I want to do is bring up a window to create an object by setting it's properties etc. I've brought up the window and gadgets, assigned the variables but can't get the window to delete. Is there some other method I'm supposed to use, or does the delete gadget command just not work on windows?
Alquerian
18
Years of Service
User Offline
Joined: 29th Mar 2006
Location: Reno Nevada
Posted: 3rd Jul 2007 18:55 Edited at: 3rd Jul 2007 18:57
Try
int=deleteGadget(gadget handle)
or
setGadgetVisible gadget handle, boolean visible

Visit the Wip!
vorconan
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Wales
Posted: 5th Jul 2007 10:39
Thanks for trying but I've ran into another problem now, what I'm doing is setting up all the GUI at the start, then hiding it like you suggested. But now it won't reappear, even if I tell it to within the main loop, where theres no conditions. I globally declared the variable, it still won't work, I think it may be a bug

Inspire
17
Years of Service
User Offline
Joined: 23rd Dec 2006
Location: Rochester, NY
Posted: 5th Jul 2007 20:11
Snippet?

vorconan
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Wales
Posted: 6th Jul 2007 00:35
Doesn't matter now, I got it working, I think didn't spell the global variable correctly, but thats not an error so DBP didn't pick up on it, thanks anyway guys

Login to post a reply

Server time is: 2024-11-25 15:24:15
Your offset time is: 2024-11-25 15:24:15