• 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: Update NSTextField programatically while cursor is in it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Update NSTextField programatically while cursor is in it
      • From: Randy Bradley <email@hidden>
  • Prev by Date: Re: launch cocoa app with argument
  • Next by Date: Re: Setting focus for a NSTextField view
  • Previous by thread: Update NSTextField programatically while cursor is in it
  • Next by thread: Re: Update NSTextField programatically while cursor is in it
  • Index(es):
    • Date
    • Thread