Re: prompt display
Re: prompt display
- Subject: Re: prompt display
- From: Anish Kumar <email@hidden>
- Date: Tue, 10 May 2005 10:47:20 +0530
Hi,
Thanks for problem Roland faced, Now I remember for life whats the
difference between "display" and "setNeedsDisplay" methods. display
method will redraw the view immediately after being called and
"setNeedsDisplay" method will redraw the view only in next application’s
event loop.
I had ignored the difference for a while and was using the both the
methods freely!
thanks,
-Anish
Roland Silver wrote:
SA Dev, thanks! your terse suggestion did the trick:
[textView display];
------------------------------
The context was
Anish,
Thanks for your reply; I tried the following, but "Fubar" is not
displayed in the text view until the "Open"event which caused the
code fragment to be performed was completed.
NSString *aString;
aString = [NSString stringWithCString:"Fubar"];
[textView insertText:aString];
[textView setNeedsDisplay:YES];
_______________________________________________
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