• 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: RESEND: How do enforce a scrollPageDown on a view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RESEND: How do enforce a scrollPageDown on a view?


  • Subject: Re: RESEND: How do enforce a scrollPageDown on a view?
  • From: Steve Palmer <email@hidden>
  • Date: Wed, 10 Aug 2005 22:12:15 -0700

OK, let me try another simpler question:

How do I get at the NSScrollView for a WebView?

If I can work that out then I can try something with scrollRectToVisible to get around the problem.

Thanks!
- Steve




On Aug 10, 2005, at 10:17am, Steve Palmer wrote:

If I send a scrollPageDown: to an NSTextView or a WebView, the scroll view isn't actually scrolled by the time I've sent the message. Instead the view seems to queue up the scroll for a later pass through the run loop or in response to a delayed notification - not sure which. What I want is to enforce the scroll when I send the message so that I can do something with the view knowing that it has at least tried to scroll. (Whether or not it actually scrolls is immaterial as I can check for that by comparing the visibleRect before and after.)

My hack has been to start a 0.2 second timer to fire after I've sent the scrollPageDown. I want a better solution that allows me to send a message to the view immediately.

Any ideas?

Thanks!
- Steve


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40opencommunity.co.uk


This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40opencommunity.co.uk


This email sent to email@hidden


_______________________________________________ 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
  • Follow-Ups:
    • Re: RESEND: How do enforce a scrollPageDown on a view?
      • From: glenn andreas <email@hidden>
    • Re: RESEND: How do enforce a scrollPageDown on a view?
      • From: Hsu <email@hidden>
    • Re: RESEND: How do enforce a scrollPageDown on a view?
      • From: Tim Lucas <email@hidden>
References: 
 >RESEND: How do enforce a scrollPageDown on a view? (From: Steve Palmer <email@hidden>)

  • Prev by Date: const Object cannot receive messages in 10.4
  • Next by Date: Re: const Object cannot receive messages in 10.4
  • Previous by thread: RESEND: How do enforce a scrollPageDown on a view?
  • Next by thread: Re: RESEND: How do enforce a scrollPageDown on a view?
  • Index(es):
    • Date
    • Thread