NSTextField selected
NSTextField selected
- Subject: NSTextField selected
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 18 Jan 2008 19:11:27 +0700
I have an NSWindow which contains an NSTextField (selectable, not
editable) which gets set via:
[ textField setAttributedStringValue: someStringWithColours ].
Works most of the time, but sometimes when I bring up the Window the
TextField is selected (higlighted in blue). And when I click in the
TextField the highlight disappears, but then the text is just plain
black.
When I then set the TextField again, it still has no colour.
When I close the window, and bring it back on, the text is again
selected.
Does anybody has any idea, how this comes to happen, and - even more
important - how this can be avoided?
10.4.11 - not tried in 10.5.1.
Kind regards,
Gerriet.
_______________________________________________
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