• 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: NSTextField only displaying last setStringValue in a loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField only displaying last setStringValue in a loop


  • Subject: Re: NSTextField only displaying last setStringValue in a loop
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 26 Mar 2004 22:17:59 +0100

Ken,

On Friday, Mar 26, 2004, at 21:46 Europe/Prague, Ken Tozier wrote:

Is there some delay before NSTextFields display strings using
"setStringValue"?

Definitely. Study docs to learn how displaying works.

In short, normally NSTextFields (and almost anything other) would be redrawn when the current event ends. To force a premature redraw, send the view in question the 'display' message.

(Someone would correct me if I am wrong, but I believe there is no need to flush the display command buffer, since the Quartz rot does not have any, being just a glorified client-side library instead of a decent graphics server as the DPS used to be?)
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >NSTextField only displaying last setStringValue in a loop (From: Ken Tozier <email@hidden>)

  • Prev by Date: NSTextField only displaying last setStringValue in a loop
  • Next by Date: Re: NSTextField only displaying last setStringValue in a loop
  • Previous by thread: NSTextField only displaying last setStringValue in a loop
  • Next by thread: Re: NSTextField only displaying last setStringValue in a loop
  • Index(es):
    • Date
    • Thread