• 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: NSTextField text changed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSTextField text changed
      • From: James Bucanek <email@hidden>
    • Re: NSTextField text changed
      • From: "I. Savant" <email@hidden>
References: 
 >NSTextField text changed (From: Ferhat Ayaz <email@hidden>)
 >Re: NSTextField text changed (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: NSTextField text changed
  • Next by Date: Re: NSTextField text changed
  • Previous by thread: Re: NSTextField text changed
  • Next by thread: Re: NSTextField text changed
  • Index(es):
    • Date
    • Thread