Re: prompt display
Re: prompt display
- Subject: Re: prompt display
- From: Roland Silver <email@hidden>
- Date: Mon, 9 May 2005 08:44:38 -0600
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:
This email sent to email@hidden