• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Source code documentation systems for Cocoa
  • Next by Date: Re: Semi-OT - shift-tab behavior broken for edit fields?
  • Previous by thread: Re: Semi-OT - shift-tab behavior broken for edit fields?
  • Next by thread: Bug in NSApplication?
  • Index(es):
    • Date
    • Thread