Re: Update NSTextField programatically while cursor is in it
Re: Update NSTextField programatically while cursor is in it
- Subject: Re: Update NSTextField programatically while cursor is in it
- From: Matt Neuburg <email@hidden>
- Date: Fri, 09 Jun 2006 07:47:02 -0700
- Thread-topic: Update NSTextField programatically while cursor is in it
On Thu, 8 Jun 2006 10:59:55 -0500, Randy Bradley
<email@hidden> said:
>All,
>
> I'm trying to update the contents of an NSTextField
>programatically using setStringValue: method. My program works fine
>as long as the cursor is not in the field I'm updating. If the
>cursor is in that field, the value does get set but it doesn't get
>redrawn until the end user selects another field.
The NSTextField is hidden by the field editor. Update the field editor
instead. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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