From: Ken S. <k....@co...> - 2005-02-09 15:24:46
|
When I try the solution proposed below nothing moves, neither the slider of the content and clicking doesn't change anything. Still frustrated, Ken On Feb 9, 2005, at 6:56 AM, Alex Tweedly wrote: > Ken Sale wrote: > >> Hi folks, >> >> In an app that intercepts key presses I want to control the scrolling >> of an HtmlWindow. The tester below moves the slider in the scroll >> bar but the window content doesn't move unless I click on the slider. >> Any hints would be appreciated. >> >> I'm running Python 2.3 on Mac OS X > > Not directly an answer to why that doesn't work - but here's an > alternative that does .... > > Instead of > >> w.SetScrollPos(wx.wxVERTICAL, curPos-13) > > do > w.ScrollLines(-13) > and > w.ScrollLines(13) > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.6 - Release Date: 07/02/2005 > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > |