Re: NSTextField text changed
Re: NSTextField text changed
- Subject: Re: NSTextField text changed
- From: Ferhat Ayaz <email@hidden>
- Date: Sat, 13 Jan 2007 21:00:54 +0100
I don't have the new value in my controller in which I want to force
to display the TextField. The new Data should be calculated by other
values from a manage objects.
@interface MyObjectMO : NSManagedObject {
}
- (double)totalPrice;
@end
I bind the entity MyObject to the NSTextField "value" with
"selection" and "totalPrice" as KeyPath.
totalPrice: calculates a value from 2 Attributes of MyObjectMO.
Greets,
Ferhat
On Jan 13, 2007, at 8:33 PM, I. Savant wrote:
Using -setStringValue: will cause it to update. Does this not
work for you?
--
I.S.
On Jan 13, 2007, at 12:42 PM, Ferhat Ayaz wrote:
Hello,
how can I force a NSTextField object to redisplay its content?
I'm modifying the data which will be represented by a NSTextField.
I want to redisplay its content. A [textField
setNeedsDisplay:YES ]; did not work.
Thanks,
Ferhat
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden