scroll vertically the canvas to a specific point by code

Jul 26, 2013 at 8:08 AM
hello, can i scroll the timeline vertically to a specific point? i tried to work on setting the MainBand.CanvasScrollOffset but only the scroll bar is being scrolled, whereas the band view is till the same
Aug 1, 2013 at 12:58 AM
I guess you need to call DisplayEvents as it is done in MoveScale, this will sync events with new position of CanvasScrollOffset. Let me know
Aug 1, 2013 at 9:34 AM
Thank you for your reply, but am already calling the RefreshEvents after setting the CanvasScrollOffset which in return calls the DisplayEvents.
i noticed that the MoveScale works only on the x not the y, i have managed to move the croll horizontally to a specific event, while my problem was to move the timeline vertically through code.