I don't see how using ensureVisible() is more "perfect" than setting the value of the scroll bar to 0 but have it your way...
"If division by 0 is a bad thing then why does division exist at all?"If this routine is so bad, why it exists? Seems done for my purpose
In other words, I didn't say the routine is bad, I said it's bad in your case (actually it's not that bad in this situation but once you start adding more functionality it might become bad).
Bookmarks