You would think so.

In fact, in a projector, though, this can cause the app to crash.

The safer way is to do something like this:

(in miaw)
on mouseUp
   global gWindowToKill

   gWindowToKill =the activeWindow
end


(in main program)
on idle
   global gWindowToKill

   if (gWindowToKill) then
     forget gWindowToKill
     gWindowToKill =VOID
   end if
end

This puts the "killing" of the window in the context of the stage, not the 
window itself, and won't crash.

- Tab

At 12:15 PM 3/23/01 +0000, ray barker wrote:
>on mouseup
>forget the activewindow
>end
>
>works for me
>
>cheers
>ray


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]

Reply via email to