I originally posted this same question in the ASS side of things ( http://macscripter.net/viewtopic.php?id=35143 - sorry for the double post :rolleyes: ) I believe that it also applies to AppleScriptObjectiveC because the issue may deal with interface builder, and might not be specific to AppleScriptStudio or AppleScriptObjC. So, here goes:
I have a “custom view” in a “scroll view” in interface builder. When I build the app, by default, the scroll view scrolls to the bottom. I’d like for the scroll view to be scrolled to the top. Also, I notice that the coordinates are “upside down” Using Interface builder 3.2.5 (823) XCode Version 3.2.5 on an applescript studio app.
Here is what I have tried:
-
Adjusting every setting I can find in interface builder to try and prevent this. Maybe there is a simple setting in IB that I have missed?
-
I have tried to find applescript code to “scroll” to the top once the app launches:
call method "scrollCellToVisibleAtRow:column:" of (matrix "studentfiles" of view "studentsfiles" of scroll view "studentsfiles" of window "studentsfiles") with parameters {theRow, theColumn}
This app is in Applescript Studio, but I might need to insert some ObjectiveC (I don’t quite know how to do this, but I’d be eager to learn).
If anyone can help, a big thanks!