How to you make a stack unmovable

MisterX monsieurx at
Tue Nov 29 07:29:13 EST 2005

Hi Jason

Edit the script of your stack and put this into it:

you dont need to mess wiht decorations actually...

local myloc
on openstack
  put the loc of me into myloc
end openstack

on movestack
  if the loc of me is not myloc
  then set the loc of me to myloc
end movestack

-- Unfortunatelly, leaving the mousestack handler empty doesn't prevent
moving as you might expect (as is the case with other handlers - EG

But this work.


Jason - Polydiam Industries Limited said:
> Thanks for all of your help on my previous question!
> I want to make a stack (like a help stack) which apart of the main stack
> I don't want the user to be able to move this stack, but I still want to
> have a close button on the top like a normal window.

> How is this possible?

> Thanks for all your help :-)

> Jason


More information about the Use-livecode mailing list