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

Peter Haworth pete at lcsql.com
Thu Nov 14 17:36:12 EST 2013


Thanks for the error info Tom.

I seem to remember a while back there was a post showing how to store a
control in a custom property and then create it from the cprop.  Don't
remember the details but might that solve your problem?

Pete
lcSQL Software <http://www.lcsql.com>


On Thu, Nov 14, 2013 at 1:16 PM, tbodine <lvhdgc7 at gmail.com> wrote:

> Hi Pete.
>
>
> Up to now, I thought it only
> affected access to scripts in the protected stack but I see now that it
> affects copying controls to another stack.  Any other operations that it
> affects?  I'm also curious as to why there wasn't some sort of error
> flagged on the copy/clone operation, or maybe there was but it wasn't
> checked in the script.
>
> Copy operation gives this result:
> "can't cut object (stack is password protected)"
>
> Clone operation result: none given
> On closer inspection, I see it DOES make a clone, but not in the target
> stack. It clones it to the source card.
>
> I just tried Jackie's idea of temporarily turning off the password during
> the copy/clone. No help. That generated the error: can't find handler.
>
> My original workaround of a separate, unprotected stack is not going to
> work
> , because elsewhere in the program I need to copy groups of controls
> between
> the user file/stack and the main (protected) stack.
>
> Any other ideas?
>
> Tom Bodine
>
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/Why-does-this-line-work-in-IDE-fail-in-standalone-tp4672338p4672350.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list