Why does this line work in IDE, fail in standalone?
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?
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
> , because elsewhere in the program I need to copy groups of controls
> the user file/stack and the main (protected) stack.
> Any other ideas?
> Tom Bodine
> View this message in context:
> 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:
More information about the Use-livecode