• 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
First display of NSTextView not shown with attributes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

First display of NSTextView not shown with attributes?


  • Subject: First display of NSTextView not shown with attributes?
  • From: Magnus Strand <email@hidden>
  • Date: Tue, 01 Mar 2005 14:28:41 +0100

Hi!

I have an NSForm with text fields.
I have made a subclass of NSFormCell called MyFormCell.
In MyFormCell the method textDidChange I make the text red when it exceeds a certain length.


I have made a MyFormatter class (subclass of NSFormatter) that also checks width and makes
text that is not under editing red if its too wide.
My problem is that if the user clicks a text field and it gets focus it is not shown as red
until the user enter characters even though MyFormatter was called directly and added red text attribute.


--
*Regards,
Magnus Strand*
_______________________________________________
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: Memory management question (passing objects to method)
  • Next by Date: [ANN]RBSplitView 1.0.2
  • Previous by thread: Re: Memory management question (passing objects to method)
  • Next by thread: [ANN]RBSplitView 1.0.2
  • Index(es):
    • Date
    • Thread