• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTextFields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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

  • Prev by Date: Re: NSImage in a NSMenuItem?
  • Next by Date: Re: Cocoa, Quartz, Colorspaces and ColorSync
  • Previous by thread: Re: NSTextFields
  • Next by thread: NSTextFields
  • Index(es):
    • Date
    • Thread