Closing palettes

J. Landman Gay jacque at
Thu Mar 10 12:22:27 EST 2011

On 3/10/11 11:06 AM, Richmond wrote:
> I have a palette that is a substack of a multi-card stack (i.e. nothing
> screamingly original) called "FLOATER".
> On the palette I have a close 'iocn' and when the end-user clicks on it
> it execute this script:
> on mouseUp
> close stack "FLOATER"
> end mouseUp
> which it does . . . . . which is all jolly well and fine, BUT . . . it
> also returns the main
> multi-card stack to card 1 every time; something I should like to prevent.

It sounds like you have a handler somewhere in the mainstack that goes 
to card 1, either on opencard, preopencard, or resumestack.

Try locking messages before executing the "close stack" command in your 

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the use-livecode mailing list