Thread: GUI onClose?
View Single Post
  #12  
Old 02-18-2006, 09:34 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by xXziroXx
I did, didnt work.
set the window property:
closequery = true;

then use:
function WindowName.onCloseQuery() {
}


Note: If I recall correctly, if you use this method you have to manually call .destroy() in the onCloseQuery() handler.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote