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



The message asks the text object to scroll within its text, whatever
that text may be.

Since you're interested in scrolling some new text, you need to set
the new string value before you ask the text object to scroll.

-Ken


On Thu, 30 Sep 2004 11:46:47 +0100, Nuno Martins
<email@hidden> wrote:
> Hi,
> 
> I'm working with Java. Can you tell me if a string  must be set to
> TextField before or after doing this?
> 
> 
> 
> 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>)
 >Re: NSTextFields (From: Ken Ferry <email@hidden>)
 >Re: 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.