Thank you much Mark, Locking messages before cloning works like a charm ;-))
I keep learning! David and René: thanks for your replies David, I am using OSX too. René, I did not explore the custom property solutions Pourriez-vous m'esquisser comment utiliser une "custom property" ? (How could I use custom property?) Seulement si vous avez le temps ! Best regards André Le 29 mars 2013 à 10:44, Mark Schonewille a écrit : > Hi André, > > Thre's a good chance that script run when you clone the stack, which make it > visible. Lock the messages before cloning the stack. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > > > > > > On 29 mrt 2013, at 10:30, André Bisseret wrote: > >> Bonjour, >> >> I have a main stack (say mainStack1" of which one substack is a model stack, >> say stack "stackModel" >> >> On an another main stack, I have a button with a mouseUp handler that >> creates a new stack by cloning the model stack. >> >> When I clone invisible stack "stackModel", that create a stack "copy of >> stackModel", as expected. >> I rename it. >> My problem is that I can't do that invisibly: the clone "Copy of stackModel" >> is always visible for a while! >> >> that keeps being so, despite the fact that I lock screen. >> >> Trying to set the visible of stack "stackModel" to false before cloning does >> not help >> >> Below is the involved part of my handler: >> -------------- >> lock screen >> --- >> --- >> set the visible of stack "stackModel" of stack "mainStack1" to false -- not >> better >> clone invisible stack "stackModel" of stack "mainStack1" >> set the name of it to tNewDoc >> -- >> -- >> save stack tNewDoc as "bli/bla/blo/tNewDoc >> close stack tNewDoc >> --------- >> >> Any idea on what I am missing? >> >> Thanks a lot in advance for your help >> >> Best regards from Grenoble >> >> André > > _______________________________________________ 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