Re: Slow updating TextView
Re: Slow updating TextView
- Subject: Re: Slow updating TextView
- From: Drew McCormack <email@hidden>
- Date: Fri, 12 Oct 2001 16:12:09 +0200
On Friday, October 12, 2001, at 04:04 , John C. Randolph wrote:
On Friday, October 12, 2001, at 06:56 AM, Drew McCormack wrote:
I have managed to sort out my NSBrowser issues, but I have very
strange behavior which I could use some advice on.
My program has a window with a browser, and two text views. When I
select an item in the browser, the action method is called, and in the
action the two text views are updated with the setString: method.
This all seems to work fine, except that one of the two text views
only updates when I move the mouse around. One text view updates
immediately when the browser is clicked, and the other doesn't change
until I move the mouse a bit. Yet the "setString:" method is being
called for each in the same action method.
Any ideas?
Sounds like a bug, but you might try sending -display to that
textfield, too.
Thanks, that worked. It is strange though. You're not really supposed to
call "display" in general, right?
Drew
-jcr
"I fear all we have done is to awaken a sleeping giant and fill him
with a terrible resolve." -Admiral Isoroku Yamamoto, Dec 7, 1941.
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
================================
Dr. Drew McCormack
Department of Theoretical Chemistry
Science Faculty
Free University Amsterdam
De Boelelaan 1083
1081 HV Amsterdam
The Netherlands
Email :: email@hidden
Tel. :: +31 20 44 47623
Fax :: +31 20 44 47629