selObj from a palette stack
Richard Gaskin
ambassador at fourthworld.com
Mon Nov 12 12:45:34 EST 2012
Peter Haworth wrote:
> On Mon, Nov 12, 2012 at 7:51 AM, Richard Gaskin wrote:
>>
>> There are also some mirrored properties, like the cRevLoadInfo["mode"]
>> property which does the same thing as the built-in style stack property.
>> The mirrored properties have mystified me since they were introduced into
>> the IDE; I'm a big fan of just teaching people how the engine works and how
>> to use it well.
>
> The only cRevLoadInfo property I find useful is "mode". I use it to
> preconfigure my lcStackBorwser stack as a modeless when I make a production
> build. I've found it works best as a modeless stack rather than a palette
> and palette is the default stack style if none is specified.
Sadly, the cRevLoadinfo["mode"] property is only useful because the IDE
was designed to override the engine's own style stack property. :/
If they had simply encouraged folks to use the built-in engine property
to govern a stack's mode, you could easily have palette, modeless, or
any other style without the need to learn one more IDE-specific exception.
But as it is, no matter what your stack's style property is set to, the
IDE will open the stack as palette unless you set cRevLoadinfo["mode"]
to something else.
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
Follow me on Twitter: http://twitter.com/FourthWorldSys
More information about the use-livecode
mailing list