How to store a stack in a custom property
J. Landman Gay
jacque at hyperactivesw.com
Sun Apr 26 20:56:24 CDT 2009
Richard Gaskin wrote:
> Mark Smith wrote:
>> on mouseUp
>> put the tempname into tFile
>> create invisible stack "thenewstack"
>> save stack "thenewstack" as tFile -- save to temp file
>> delete stack "thenewstack" -- clear from memory
>> set the storedStack of this stack to url ("binfile:" & tFile) --
>> store in cp
>> delete file tFile -- delete temp file
>> end mouseUp
> Nicely done.
The only thing I'd add is that when the stack is opened again, it will
still be invisible.
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode