Oh cool. Thanks. I don’t mind having to use a modifier. I do think however that 
drag and drop from an unlocked field with traversalOn disabled should still be 
allowed. I get however that a field would need focus which traversalOn allows, 
so perhaps fields need another property like allowEdit. 

Bob S


> On Nov 15, 2014, at 02:16 , André Bisseret <andre.bisse...@wanadoo.fr> wrote:
> 
> 
> Le 15 nov. 2014 à 00:11, Bob Sneidar a écrit :
> 
>> I suspect the answer is no, but is there a way to drag text from a locked 
>> field? So far it seems not. I can probably unlock the field on a mouseDown 
>> event and relic it on a mouseUp, but that is getting ugly. I need to be able 
>> to select and drag text from a field but not allow editing. 
>> 
>> Bob S
>> 
> In the script of  the locked field put the following handler :
> 
> on mouseDown
>   if the shiftKey is down then
>      -- or controlKey or commandKey as well
>      select the mouseLine
>      set the dragData to value(the selectedLine) & cr
>   end if
> end mouseDown
> 
> best
> 
> 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


_______________________________________________
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

Reply via email to