There's a fly (or two) in my ointment

Ken Ray kray at
Wed Feb 22 17:18:05 EST 2006

On 2/22/06 2:15 PM, "Bob Warren" <robertum at> wrote:
> 2) I want to be able to move the main window around and to be able to
> re-size it. The only way I have found of doing this so far is to display
> the "close" decoration in the top right-hand corner. But the operator
> should NOT be able to close the window in this way. How can I disable
> (or remove) the close decoration and still enable the operator to
> move/re-size the window?

You can trap the closeStackRequest handler and don't pass it:

on closeStackRequest
end closeStackRequest

This is only triggered when someone wants to close a stack by the close box.
Ken Ray
Sons of Thunder Software
Web site:
Email: kray at

More information about the Use-livecode mailing list