Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: scrolling a scrollView with an imageView



Did you try [[yourScrollView contentView] scrollToPoint:{0,0}] already? 

Let's see, from AppleScript that would be:
call method "scrollToPoint:" of object (call method "contentView" of object
theASSNameOfYourScrollView) with parameter {0,0}

(or you could break it into two lines for more clarity, of course)

Topher
-----Original Message-----
From: applescript-studio-bounces+tophu=email@hidden
[mailto:applescript-studio-bounces+tophu=email@hidden] On Behalf
Of Robert J. Rust
Sent: Tuesday, March 29, 2005 1:48 PM
To: email@hidden
Subject: scrolling a scrollView with an imageView

Thanks to all who provided assistance with creating a scrollable imageView.
Now I am having problems figuring out how to scroll up to the top of the
image I've loaded, since the image shows up scrolled to the bottom.  I did
some digging in the ADC documentation but was unable to determine how to do
it (and the method that's called to scroll a textView doesn't work).

Robert

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Robert J Rust
Microcomputer Support Specialist
UW - River Falls IT Services
(715) 425-4357
email@hidden
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden

References: 
 >scrolling a scrollView with an imageView (From: "Robert J. Rust" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.