copying objects

Jeanne A. E. DeVoto jeanne at runrev.com
Sun Mar 24 05:12:02 EST 2002


At 7:04 PM -0800 3/22/2002, Steve Messimer wrote:
>TopStack Question: Does the topStack designate the mainStack or the stack
>that is in the currently active window?

It's a bit complicated. In general, the topStack is the active window.
(This can be a main stack or a substack; it doesn't matter one way or the
other.)

But the cantModify of the stack, and its style, can modify this. If the
frontmost stack is a normal editable stack (a toplevel stack whose
cantModify is false), then it's the topStack. But if it's a palette, modal
or modeless dialog, or if its cantModify is false, then the topmost
topLevel modifiable stack is the topStack.

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!





More information about the use-livecode mailing list