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
> >
> >
> >
>
>
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 mails | Author | Date |
|---|---|---|
| Nuno Martins | Sep 29, 13:13 | |
| Nuno Martins | Sep 29, 15:24 | |
| Nuno Martins | Sep 29, 19:15 | |
| Frank Midgley | Sep 29, 23:20 | |
| Ken Ferry | Sep 30, 11:30 | |
| Nuno Martins | Sep 30, 12:40 | |
| Nuno Martins | Sep 30, 12:46 | |
| Ken Ferry | Sep 30, 22:28 |






Cocoa mail archive

