• 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
NSTextField text disappears when loosing focus in a view attached to NSSavePanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField text disappears when loosing focus in a view attached to NSSavePanel


  • Subject: NSTextField text disappears when loosing focus in a view attached to NSSavePanel
  • From: Jacob Gorban <email@hidden>
  • Date: Tue, 18 Jul 2006 19:37:36 +0300

Hello,

I have a really weird problem which I couldn't find any mention on this mailing list or internet overall.

I have a custom view in my NIB file which I attach to an NSSavePanel as accessory view. The view has several NSTextFields on it.

When I call the SavePanel first time, everything is fine and I see text in all text fields. Then, if I close the panel and then call it again, the text fields which was had the focus when I exited the panel will not display its value when it's not focused.

The interesting thing is that if I click inside the "empty" text field it shows the correct value and I edit it but as soon as I jump to another field, the text disappears.
If I now close the panel on another textfield, next time both of them will behave like that (not displaying value when not focused).


I've spent about 5 hours finding a solution for this but to no avail...


Jacob Gorban (email@hidden)




_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: Re: Updating webview with HTML attribute of a managed object
  • Next by Date: Re: cross development problem
  • Previous by thread: Re: Re: Updating webview with HTML attribute of a managed object
  • Next by thread: how do I copy the Finder Sidebar?
  • Index(es):
    • Date
    • Thread