Getting a field name

Dar Scott dsc at swcp.com
Mon Apr 5 10:56:36 EDT 2004


On Monday, April 5, 2004, at 08:22 AM, Jim Hurley wrote:

> Thanks for the suggestion. I tried it but got stuck in an endless 
> wait. I don't see why that should have happened.

Add 'with messages' to this line:

>
>   wait until gClickedField is not empty

Alternately, you can drop that and do the work (the part after the 
wait) in the frontscript mouseup.

(In the front script mouseUp, you alternately can pass the mouseUp 
instead of putting the cancel message in the field.  This allows you to 
get to a field with some clicks.)

Dar Scott



More information about the use-livecode mailing list