Hello again... I'm running into a MIAW roadblock when forget() is executed.
In my previous post, I spawned a MIAW (gMIAW). When I close it using this handler below, suddenly all becomes useless. Why? on mouseUp(me) -- "close button" is passed case pFeature of "close button": -- quit the MIAW gMIAW.close() gMIAW.forget() "title bar": if gTools.pScreenData.pFullScreen = FALSE then cursor(260) end if end case End Thanks, Michael M. __________________________________ It was spawned with the handler in my previous post... on mMIAW(me, theFileName, theWidth, theHeight) global gMIAW gMIAW = window(theFileName) gMIAW.windowType = 2 -- figure the file path to the MIAW director file theCastPath = castLib(gTools.pCurrentCast).fileName thePos = offset(gTools.pCurrentCast, theCastPath) theChopOff = integer(thePos + gTools.pCurrentCast.length) theNewPath = theCastPath.char[1..(theChopOff)] & theFileName gMIAW.filename = theNewPath gMIAW.titleVisible = FALSE -- figure the rect of the window and center it... theL = integer((pScreenData.pScreenW - theWidth)/2) theT = integer((pScreenData.pScreenH - theHeight)/2) gMIAW.rect = rect(theL, theT, (theL + theWidth), (theT + theHeight)) window(theFileName).open() End [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]