Skip navigation.
 
mlNSTextField text disappears when loosing focus in a view attached to NSSavePanel
FROM : Jacob Gorban
DATE : Tue Jul 18 18:37:36 2006

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_removed>)

Related mailsAuthorDate
No related mails found.