The selectedText for controls without focus
J. Landman Gay
jacque at hyperactivesw.com
Sat Feb 25 00:17:44 EST 2017
On 2/24/17 8:18 PM, Bob Sneidar via use-livecode wrote:
> Ok I've played with locked, traversalOn, and disabled and the only
> thing that alows me to enable/disable editing of the contents of a
> field is traversalOn. No combination of the other settings allow me
> to select text (in any manner that a user would expect) and yet
> prevent the editing of the text.
Set a field to use locktext, traversalOn, and autohilite. You can select
and copy text without the ability to edit. Command/Control-C is built
into the engine so you don't need to know what the selection is, the
engine just does it. Your scripts don't need to do anything to
accomodate this.
You can't double-click a word to select it, but you can drag.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list