The selectedText for controls without focus

Bob Sneidar bobsneidar at iotecdigital.com
Fri Feb 24 16:33:02 EST 2017


Hi Richard. You are "locking" fields. I am setting the traversalOn to false. The reason I use this is because a locked field will still show the focus border, which I do not want. I suppose I can lock the field and lock the field. I will play around with it. 

Bob S


> On Feb 24, 2017, at 12:35 , Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> If has one menu and a simple script in it:
> 
> on menuPick pItemName
>   put the selectedText
> end menuPick
> 
> So here everything I do with selections in locked fields gives me the same results as unlocked fields.  I've had products that rely heavily on this behavior.  If you're seeing something different we need to dig into specifics to discover the differences. But once we do I'm confident we can get it to work for you.
> 
> -- 
> Richard Gaskin





More information about the use-livecode mailing list