Q:  How can I determine which TextField is being edited, while performing a delegate method such as textWillEnd: or textDidChange:?

A: All of TextField's delegate methods send the Text object as an argument.  You can message this Text object to get its delegate, which has been set to the id of the TextField being edited. If you have several TextFields in a Matrix (or a Form) then the Matrix (or the Form) is the delegate of the Text object. In which case you should use the following method calls to get the actual TextField:

	[[sender delegate] selectedCell];
	
This code also works for individual TextFields, because single Controls return self when asked for selectedCell.  We recommend that you use the above code snippet in all cases.

QA507
	
Valid for 1.0, 2.0, 3.0