Re: NSTextField only displaying last setStringValue in a loop
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.