Determining which UITextField sent a message

Devin Asay devin_asay at byu.edu
Wed Mar 23 19:43:39 EDT 2011


On Mar 23, 2011, at 5:33 PM, MacBox at earthlink.net wrote:

> Is it possible, to find out which UITextField sent a message?
> 
> It doesn't seem that the objects include their name, or ID, as a parameter with the messages they send, so if I have 2 or more UITextFields on a card, when I trap an "inputReturnKey" message, is there any way to tell which field sent it?

Try 'the target'.

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University





More information about the use-livecode mailing list