Skip navigation.
 
mlRe: NSTextFields
FROM : Ken Ferry
DATE : Thu Sep 30 22:28:00 2004

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
<nuno.<email_removed>> 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
> >
> >
> >
>
>

Related mailsAuthorDate
mlNSTextFields Nuno Martins Sep 29, 13:13
mlNSTextFields Nuno Martins Sep 29, 15:24
mlRe: NSTextFields Nuno Martins Sep 29, 19:15
mlRe: NSTextFields Frank Midgley Sep 29, 23:20
mlRe: NSTextFields Ken Ferry Sep 30, 11:30
mlRe: NSTextFields Nuno Martins Sep 30, 12:40
mlRe: NSTextFields Nuno Martins Sep 30, 12:46
mlRe: NSTextFields Ken Ferry Sep 30, 22:28