Re: RESEND: How do enforce a scrollPageDown on a view?
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