Enhancement Request 19323 submitted. As to your post, yes the selectedText 'of the field' will work. But a menu command like "Copy" would not know which field was selected. I suppose I could loop through all the fields and get the one which was not empty. I'll play with that a bit.
Bob S > On Feb 24, 2017, at 09:36 , Mike Bonner via use-livecode > <use-livecode@lists.runrev.com> wrote: > > One last thing. On windows, with traversalon and locktext to true, text is > selectable, but as expected there is no insertion point. The only way I > can make a selection with traversalon = false is to double click a word. > > This is the opposite of just setting the locktext to true, one can drag and > select, but multi clicks don't select. getting the selectedtext of field > "whatever" does indeed work. (and you could turn off the focusborder too) > > My guess is that despite the hilite that appears when traversal is off, the > text isn't actually selected. To test this, I had a button set the > selection, made sure that traversal was off, then put the selectedtext of > the field, and it worked as expected. > > So, I'd call it a bug. Either a) one shouldn't be able to faux select in > that mode, or b) it should be an actual real selection which it obviously > is not. _______________________________________________ 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