9/1/08 9:46 PM, also sprach [EMAIL PROTECTED]:

> I have a label that I want to display the date range for which I am
> displaying data. So, the label would say "July 1, 2008 to September 1,
> 2008" for my QTD numbers. That is simple enough, but when I set the
> display value binding to my startDate and endDate objects' values,
> they display without any formatting. Is it possible to apply an
> NSDateFormatter to a label that utilizes display values? I found this
> message asking the same thing, so it must not be too uncommon a
> question.

Yes, you can apply a formatter to a label field, as it is still just an
NSTextField. Note, however, that the formatter must apply to the *whole*
field. You can't apply a formatter to part of a field (unless it is your own
formatter, programmed to do so).

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to