Re: NSTextField
Re: NSTextField
- Subject: Re: NSTextField
- From: Michael Monscheuer <email@hidden>
- Date: Tue, 02 Dec 2003 08:21:44 +0100
> how can one tell if the cursor is in a text field?
>
> e.g. I clicked in a text field to do some editing
>
> then in a function I need to tell which text field has the
> cursor in it ... how can I do this?
You should take a look at responder chain mechanism.
The currently edited field should be the first responder within the key
window.
MiMo
--
=======================================================
And refashioning the fashioned
lest it stiffen into iron
is work of endless vital activity.
[Goethe]
mailto:email@hidden
mailto:email@hidden
All about CALAMUS DTP suite:
http://www.calamus.net
=======================================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.