From: Alex T. <al...@tw...> - 2005-02-09 14:56:54
|
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 |