• 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: NSPredicateEditor losing nextKeyView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPredicateEditor losing nextKeyView


  • Subject: Re: NSPredicateEditor losing nextKeyView
  • From: Trygve Inda <email@hidden>
  • Date: Tue, 23 Feb 2010 20:31:50 +0000
  • Thread-topic: NSPredicateEditor losing nextKeyView

> On Feb 21, 2010, at 9:50 PM, Trygve Inda wrote:
>
>> In my sheet, I have a "name" NSTextField and an NSPredicateEditor.
>> Initially, the tab key works to jump between my name field and the first
>> match field in the predicate editor.
>>
>> However, after changing any of the menus in the line of my predicate editor,
>> the tab key no longer allows the keyfield to rotate out of the
>> NSPredicateEditor back to other fields in my sheet.
>>
>> Is this a bug or do I need to hook up something to make it work?
>
> I noticed this happening sometimes in my code too. As a quick fix I just
> issued a delayed -recalculateKeyViewLoop message on any change of the search
> predicate when the view was visible.
>
>
> Ashley
>
>
>
>

It does the same thing when adding a row but...

NSRuleEditorRowsDidChangeNotification is only sent when changing popup menus
or text, not when simply adding a row.

Thoughts?

Trygve


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSPredicateEditor losing nextKeyView
      • From: Ashley Clark <email@hidden>
References: 
 >Re: NSPredicateEditor losing nextKeyView (From: Ashley Clark <email@hidden>)

  • Prev by Date: Re: Deprecated APIs
  • Next by Date: Re: 'ditto' troubles
  • Previous by thread: Re: NSPredicateEditor losing nextKeyView
  • Next by thread: Re: NSPredicateEditor losing nextKeyView
  • Index(es):
    • Date
    • Thread