• 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
'No Selection' placeholder appearing in text fields bound to keys of NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'No Selection' placeholder appearing in text fields bound to keys of NSArrayController


  • Subject: 'No Selection' placeholder appearing in text fields bound to keys of NSArrayController
  • From: Rick Hoge <email@hidden>
  • Date: Thu, 8 Jul 2004 22:34:13 -0400

I've been getting unexpected behaviour in a GUI where NSTextField values are bound to keys of an NSArrayController.

The array is associated with a table and initially I get expected results:

1) on launch, no table items are selected and the 'No Selection' placeholder is displayed in bound text fields

2) when I select an object, the correct attribute data is displayed in the text fields

Here's where things go strange:

3) if I click in the text field (which is selectable), the attribute data is still displayed but I also get the 'No Selection' placeholder text in grey superimposed.

I suppose this might have something to do with the fact that, when I click on the text field, the table loses its responder status and the selection bar goes grey. It does not really seem like correct behaviour though, as the object in the table is still marked as selected...

Does anyone know why this is happening and how it might be avoided?

Thanks in advance,

Rick
_______________________________________________
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: screensaver background color
  • Next by Date: Displaying "loading" dialog at NSApplication init?
  • Previous by thread: Re: Test dylib dependencies
  • Next by thread: Displaying "loading" dialog at NSApplication init?
  • Index(es):
    • Date
    • Thread