Track which button a user clicks?

Jeanne A. E. DeVoto jeanne at runrev.com
Tue Dec 24 22:47:01 EST 2002


At 8:55 AM -0800 12/24/02, Mike Bleed wrote:
>I need to know if there is a way to capture which button or
>field a user clicked on.

Use the target function:

  on mouseDown
    get the ID of the target -- unique
    -- or the name, number, or any other property
  end mouseDown

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/





More information about the use-livecode mailing list