Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextFields



On Wed, 29 Sep 2004 12:13:08 +0100, Nuno Martins
<email@hidden> wrote:
> Hi,
> 
> If I set a string in a NSStringField (with setStringValue) and if this
> string is too long, some characters aren't visible. Does anybody known
> how can I set a NSStringField to show invisible characters (last
> characters of string).
> 
> Thanks

Are you after -[NSText scrollRangeToVisible:] perhaps?  Try something like

[[window fieldEditor:YES  forObject:textField] scrollRangeToVisible:range];

-Ken
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >NSTextFields (From: Nuno Martins <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.