Why does this line work in IDE, fail in standalone?

Klaus major-k klaus at major-k.de
Thu Nov 14 19:35:39 CET 2013


Hi Tom,

Am 14.11.2013 um 19:30 schrieb tbodine <lvhdgc7 at gmail.com>:

> Hi gurus.
> 
> This line of code copies a button to a new stack. Works great in the IDE.
> Fails in my standalone (v6.1.1, Windows XP).
> 
> copy button "Master Round" of card "Home" to card "index" of stack
> gActiveFile
> 
> I also tried:
> 
> clone button "Master Round" of card "Home" to card "index" of stack
> gActiveFile
> 
> They fail in slightly different ways: I used newButton message to detect any
> action, and copy does not fire the newButton handler, but clone does.
> However, neither copy or clone creates the button in the target stack in the
> standalone.
> 
> The target stack (gActiveFile) is a new, empty stack created as a user data
> file. 
> 
> Thanks for any help! Been hammering on this for hours and hours.

is the standalone stack password protected or its "cantmodify" checked?
If yes, I think you cannot copy from or to this stack!

> Tom Bodine

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de




More information about the use-livecode mailing list