Skip navigation.
 
mlRe: bound NSTextfield won't update unless clicked on
FROM : Kenny Leung
DATE : Fri Jul 07 21:02:44 2006

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_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/kenny_leung%
> 40pobox.com
>
> This email sent to <email_removed>
>

Related mailsAuthorDate
mlbound NSTextfield won't update unless clicked on Kenny Leung Jul 7, 19:13
mlRe: bound NSTextfield won't update unless clicked on Kenny Leung Jul 7, 21:02
mlRe: bound NSTextfield won't update unless clicked on Matt Neuburg Jul 8, 16:13