Hi Aaron, If you kow the index of the canvas child that you want to scroll to, something like this will work:
myCanvas.verticalScrollPosition = myCanvas.getChildAt(myChildIndex).y; -TH --- In [email protected], "Aaron Miller" <[EMAIL PROTECTED]> wrote: > > Is it to early to bump? I'm sure this is a common procedure, I'm just kind > of new to display level programming. How would one go about pragmatically > scrolling a Canvas until one of it's children is in view? I know how to do > the rest, I just don't know how to find when the child is in view. > > Thanks for your time! > ~Aaron > > On Wed, Oct 29, 2008 at 7:14 PM, Aaron Miller < > [EMAIL PROTECTED] wrote: > > > Hello, > > I am trying to figure out which portion of a Canvas is in view (as in the > > scrolled to location), then figure out if one of it's children is in that > > area. In other words, I want to find out if a child object is in view, and > > if not, scroll the Canvas until it is. I was looking over the Canvas methods > > in the docs, but nothing jumps out at me. What's the standard practice for > > this? > > > > > > Thanks! > > ~Aaron > > >

