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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to