NSTextField selected

  • 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.
previous month january 2008 next month
MTWTFSS
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Go to today