Track which button a user clicks?

Rob Cozens rcozens at pon.net
Wed Dec 25 11:02:25 EST 2002


>In short, I need to know if there is a way to capture which button 
>or field a user clicked on.

Hi Mike,

on mouseUp
   put the long name of the target into whichControlWasClicked
   ...
end mouseUp
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



More information about the use-livecode mailing list