paste

Marty Knapp martyknappster at gmail.com
Tue Nov 26 00:08:58 CET 2013


It makes me a little nervous too! I wrap my paste code into a try/catch 
statement so that if anything goes wrong, I can exit the edit group mode 
so my users are left in limbo. I haven't had a problem yet but I wish 
there was a way around this.

Jacque, could you explain more about what you're doing in this regard?

Marty
> Thanks Chris and Marty.  I tried that and it seems to work fine.  I'm
> mildly worried about doing it that way only because I've had issue in the
> past while in group edit mode but that was while manually editing groups,
> not doing it by script.
>
> Pete
> lcSQL Software <http://www.lcsql.com>
>
>
> On Mon, Nov 25, 2013 at 12:15 PM, Chris Sheffield <cmsheffield at icloud.com>wrote:
>
>> I agree with Marty. Try “start editing group” before doing your paste. I
>> believe you can even lock the screen before doing this if desired.
>>
>> Chris
>>
>> --
>> Chris Sheffield
>> Read Naturally, Inc.
>> www.readnaturally.com
>>
>>
>>
>> On Nov 25, 2013, at 1:04 PM, Peter Haworth <pete at lcsql.com> wrote:
>>
>>> A while back, there was a discussion on how to store an control
>> definition
>>> in a custom property and create the control from the custom property by
>>> copying and pasting the control into and out of the custom property.
>>>
>>> I have all that working fine but I need the pasted control to end up in a
>>> group and the paste command doesn't have an option to paste into a group
>> (
>>> that might be a nice enhancement).  Currently I paste the control onto
>> the
>>> card, copy it into the group then delete the pasted control.  That works
>> OK
>>> but wondering if there's a more direct way to do it.
>>>
>>> Pete
>>> lcSQL Software <http://www.lcsql.com>
>>> _______________________________________________




More information about the use-livecode mailing list