The selectedText for controls without focus

Richard Gaskin ambassador at fourthworld.com
Sat Feb 25 01:09:37 EST 2017


For a scriptless solution that's purely property-driven, what Jacque 
said covers normal click-and-drag selection at the small cost of 
multi-click selection.

And if you need multi-click selection and don't mind a small bit of 
scripting, putting this in a normal editable field seems to make it 
uneditable well enough while still allowing Copy to work:

on rawkeydown k
    if k = 99 then
       if the commandKey is "down" then copy
    end if
end rawkeydown

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for Desktop, Mobile, and Web
  ____________________________________________________________
  Ambassador at FourthWorld.com        http://www.FourthWorld.com




More information about the use-livecode mailing list