Jim Byrnes wrote:
> On 02/25/2016 06:35 PM, Richard Gaskin wrote:
>> Try this in the Message Box (replacing "YourStack" with your stack's
>> name of course):
>>
>> put the mode of stack "YourStack" && the style of stack "YourStack"
>>
>
> This results in: 2 toplevel
Hunch confirmed: if you look up mode in the Dictionary you'll see the
mode is an integer that refers to the current state of the stack.
Stack modes can be made persistent with the style property, but you can
also temporarily change the mode of a stack without changing the
persistent style property by using the style name as a command, e.g.:
palette "some stack"
...will open it as a palette, but if its style is toplevel then using:
open stack "some stack"
...will open it in its style, toplevel.
There is one other way to affect mode, specific to mode 2: that one's
cantModify, which can be affected by setting the stack's cantModify
property.
So if you run this in the Message Box you should be good to go:
set the cantmodify of stack "YourStack" to false
Then save it, or you'll be back in this spot again next time you open it.
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
ambassa...@fourthworld.com http://www.FourthWorld.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode