• 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
[SOLVED] Re: NSTextField responder chain question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] Re: NSTextField responder chain question...


  • Subject: [SOLVED] Re: NSTextField responder chain question...
  • From: Alex Lock <email@hidden>
  • Date: Tue, 7 Oct 2003 20:39:40 -0400

On Tuesday, October 7, 2003, at 06:48 PM, Henry McGilton wrote:

I admit this is flailing in the dark, but, in the view where you get the key press
(or in its controller), try something like:

[view_or_controller setNextKeyView: gmsgTextField]];
[gmsgTextField selectText:self];

This stuff is supposed to be simple . . .

Best Wishes,
........ Henry


After looking around for quite some time... turns out my outlet (in IB) had the name "gmsg1TextField"; when I added it to the source by hand (like I always tend to) I left off the "1".

Turns out I'm glad I asked anyways; the makeFirstResponder doesn't seem to work, but your method does.

Thanks again!

Alex <email@hidden>
_______________________________________________
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: Dock Icon position
  • Next by Date: Re: NSAcceptMisspelledSelectors and - (void)performMethodsUsingFuzzyM ethodNameMatching
  • Previous by thread: Dock Icon position
  • Next by thread: fontWithName:matrix: (REPOST)
  • Index(es):
    • Date
    • Thread