Hi Jacque. I verified yesterday that the issue still exists. Apparently, since 
a button does not gain focus in a Macintosh UI, the field never loses focus, 
hence no closefield. There is a note about it in the help I think. 

As I said in another post, if you trap for mouseUp in the card or stack, set 
the focus to nothing, then pass mouseup, and remember to pass mouseUp in all 
your button handlers, everything will work the way you would expect it to. 

Bob


On Oct 25, 2011, at 4:57 PM, J. Landman Gay wrote:

> On 10/25/11 6:48 PM, James Hurley wrote:
>> I worry about the size of the field text that it would be hashing. It
>> would be book length.
>> 
>> I don't have that much in there at present, so I can't test it, but
>> that is the ultimate goal.
> 
> I'd just use closefield myself. The bug with the buttons was a problem for a 
> long time, but I thought it was fixed. It's been a while, but last time I 
> checked I was getting appropriate closefield messages. If you find that you 
> aren't, turn off traversalOn on your button and it should bypass the bug.
> 
> Trapping closefield is way easier than all that scripting.
> 
> -- 
> Jacqueline Landman Gay         |     jac...@hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> _______________________________________________
> 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


_______________________________________________
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

Reply via email to