PDA

View Full Version : qwebframe - scrolling to a specific position



boast
14th June 2010, 03:37
How do I get qwebframe to go to a specific position?? I tried setScrollBarValue & using javascript window.scrollTo, but nothing happens.

boast
15th June 2010, 02:20
figured out its " page()->mainFrame()->setScrollPosition(QPoint(x,y))" but had to put it in a slot for after the page finished loading (thanks to #qt IRC channel)