• 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
Focus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Focus


  • Subject: Focus
  • From: Tae-Won Ha <email@hidden>
  • Date: Sat, 8 Mar 2003 17:16:44 +0100

Hi...

I have a question regarding the focus of NSView subclasses...
I want a NSTextView get the focus when the user selects a row in a NSOutlineView...

My code:
- (void)outlineViewSelectionDidChange:(NSNotification *)notification {
.
.
.
[outlineView unlockFocus];
[textView lockFocus];
.
.
.
}

I got this error msg:
Unlocking Focus on wrong view (<NSOutlineView: 0x16c8790>)

Are those methods the right ones?

Thanks in advance...
--
Tae. =)
_______________________________________________
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: [NSOpenPanel setTreatsFilePackagesAsDirectories] and a doc-based application
  • Next by Date: Re: Focus
  • Previous by thread: Re: Help with crashing
  • Next by thread: Re: Focus
  • Index(es):
    • Date
    • Thread