Re: prompt display
Re: prompt display
- Subject: Re: prompt display
- From: SA Dev <email@hidden>
- Date: Mon, 9 May 2005 10:47:18 -0400
[textView display];
On May 9, 2005, at 10:44 AM, Roland Silver wrote:
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];
The message is only displayed after [NSApplication sendEvent:]
returns to [NSApplication run].
----------------------------------------------
On May 9, 2005, at 6:56 AM, Anish Kumar wrote:
I think you need to redraw your Textview after updating it with
"insertText" method. You can call
the method [textView setNeedsDisplay:YES]; immediately after the
"insertText" method"
Hope this may solve your problem. Happy programming!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40silentalcove.net
This email sent to email@hidden
_______________________________________________
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