selectedField in 2.7 not working

Thomas McGrath III 3mcgrath at
Thu Feb 16 07:56:50 EST 2006


That is what I am getting now. On windows it never works (always  
gives an error that it can't find the target) and on OSX 10.4 it  
works at first and then suddenly it doesn't work later on it works.

In trying to track this down I did notice that the insertion I beam  
is a little latent behind the typing of the f on OSX. It didn't used  
to be.

This was a generic keyboard in my Pocket PC software prototype so  
each letter has the code in it (I know I should have put it at the  
card level but i wrote that when I was first learning) It worked  
flawlessly in 2.6.1 and below.


On Feb 15, 2006, at 11:43 PM, J. Landman Gay wrote:

> Ken Ray wrote:
>> On 2/15/06 9:36 PM, "J. Landman Gay" <jacque at>  
>> wrote:
>>> Thomas McGrath III wrote:
>>>> Hello,
>>>> Has anyone found the function 'selectedField' no longer working  
>>>> after
>>>> 2.7 upgrade?
>>>> My script is rather simple:
>>>> on mouseUp
>>>>    put "f" after the selectedField
>>>> end mouseUp
>>>> This has worked flawlessly for some time in 2.6 and below.
>>> Verified. It looks like a bug to me. Here's the ugly work-around:
>>>  do "put" &&quote& "f" &quote&& "after" && the selectedfield
>> This is only in Windows, right? Because it works in OSX just fine  
>> for me...
> No, I was testing in 10.3.9. I tried with the button's auto-hilite  
> set both on and off. If I added "get the selectedfield" to the  
> beginning of the handler, it contained the correct value. But the  
> line about putting "f" after the selectedfield throws an error,  
> something about not finding a target.
> But it gets stranger...
> I just rechecked to see what the exact error wording was  
> it is working. <twilight zone music>
> -- 
> Jacqueline Landman Gay         |     jacque at
> HyperActive Software           |
> _______________________________________________
> improve-revolution mailing list
> improve-revolution at

Thomas J McGrath III
3mcgrath at

Lazy River Software™ -

Lazy River Metal Art™ -

Meeting Wear™ -

Semantic Compaction Systems -

SCIconics, LLC -

More information about the Use-livecode mailing list