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.

DLL Talk / BlueGui - Dont respond to WINDOW_CLOSE

Author
Message
Hayer
18
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 4th Sep 2007 14:00
Hi!
Here is the code

if i press ALT+F4 to close it it hides and a popup comes up with the eventsoure(), but if i press the X in the right corner nothing happens...

the forms are toolwindows and fixedsize..

wildbill
18
Years of Service
User Offline
Joined: 14th Apr 2006
Location:
Posted: 5th Sep 2007 18:15
if you want the window to close, you need to put "end" in the function. Personally I also put my clean up code too.

if eventType()=WINDOW_CLOSE then CleanUp()

function CleanUp()
MBC CLEAR ALL MEMBLOCKS
img clear
BMP Clear All Bitmaps
end
endfunction

Login to post a reply

Server time is: 2024-05-18 06:58:42
Your offset time is: 2024-05-18 06:58:42