• 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: bound NSTextfield won't update unless clicked on
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bound NSTextfield won't update unless clicked on


  • Subject: Re: bound NSTextfield won't update unless clicked on
  • From: Kenny Leung <email@hidden>
  • Date: Fri, 7 Jul 2006 12:02:44 -0700

Sorry, I just found out that this isn't a bindings problem, but a problem with NSTextField. Does anyone know why an NSTextField won't update even though you do setFloatValue: on it? I am explicitly calling display on its superview in order to get a redraw. Even doing a setNeedsDisplay:YES will not work.

Thanks!

-Kenny


On Jul 7, 2006, at 10:13 AM, Kenny Leung wrote:

Hi All.

The subject pretty much says it. I have an NSTextfield that is bound to a value in my object. The value is pulled, as I can verify that valueForKey: is being called, but the textfield does not redraw unless it is clicked on. Has anybody encountered this?

Thanks!

-Kenny

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40pobox.com


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: 
 >bound NSTextfield won't update unless clicked on (From: Kenny Leung <email@hidden>)

  • Prev by Date: Re: NSCell mouse tracking best practices.
  • Next by Date: Re: NSTableView - how to select text when editing a column?
  • Previous by thread: bound NSTextfield won't update unless clicked on
  • Next by thread: Re: bound NSTextfield won't update unless clicked on
  • Index(es):
    • Date
    • Thread