• 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
Re: NSTextView binding redisplay
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView binding redisplay


  • Subject: Re: NSTextView binding redisplay
  • From: Steven Spencer <email@hidden>
  • Date: Sun, 02 May 2004 14:40:14 +0100

Hi,

I've solved the display problem.
The symptom is caused by asking a textview to display a string that has already been released.

- Steve Spencer

>Message: 2
>Date: Fri, 30 Apr 2004 00:26:43 +0100
>From: Steven Spencer <email@hidden>
>To: email@hidden
>Subject: NSTextView binding redisplay
>
>Hello,
>
>I hope someone can help with this issue :
>
>I have a NSTextView bound to the selection of a NSObjectController in Interface Builder. The selection is controlled by a NSTableView whose columns are bound to the arrangedObjects in the object controller. The table view permits single selection only.
>(Reason for this strange set-up : The text view can display multiple lines of text whereas the table view can display only a single line).
>When the object controller selection changes (via the table view), the text view is updated. Often, the text view doesn't completely draw the string unless the table view is clicked a second time or a different control becomes the first responder.
>Is it necessary to send the text view a setNeedsDisplay:YES message each time after its value is set ? I thought this would be done automatically.
>If this is indeed the way to go, what's the best method ?
>
>Thanks.
>
> - Steve Spencer
>
>--__--__--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Promised file drag/drop catch 22?
  • Next by Date: Remove and release subviews
  • Previous by thread: RE: Incoming Msg
  • Next by thread: Re: NSTextView binding redisplay
  • Index(es):
    • Date
    • Thread