Getting a field name

Dar Scott dsc at swcp.com
Sat Apr 3 22:35:41 EST 2004


On Saturday, April 3, 2004, at 07:06 PM, Jim Hurley wrote:

> There must be a cleaner way.

This might seem cleaner only to one with my warped way of thinking or 
one forced to elaborate on your need.

Your button handler can set a special click mode global variable to 
true.  Or something similar.

A front script mouseUp handler can check that. If true it does 
something with the name of the target and clears the flag.  Otherwise 
it simply passes on the mouseUp.  It can look at the target and make 
sure it is a field.

Dar Scott



More information about the use-livecode mailing list