Re: NSTextFields
Re: NSTextFields
- Subject: Re: NSTextFields
- From: Ken Ferry <email@hidden>
- Date: Thu, 30 Sep 2004 16:28:00 -0400
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:
This email sent to email@hidden