• 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: prompt display
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re:prompt display (From: Anish Kumar <email@hidden>)
 >Re: prompt display (From: Roland Silver <email@hidden>)

  • Prev by Date: Re: prompt display
  • Next by Date: multiple mdimporters not managed by Spotlight ??? critical bug IMO
  • Previous by thread: Re: prompt display
  • Next by thread: Re: prompt display
  • Index(es):
    • Date
    • Thread