Hi again,
win98se, py 2.2.1, wxpy 2.3.3pre6
class MyPanel(wxPanel):
def __init__(self, parent, id):
...
self.hbar = wxScrollBar(self, 1001, wxPoint(30, 50), wxSize(400,
20), wxSB_HORIZONTAL)
self.hbar.SetScrollbar(0, 1, 100, 1)
...
EVT_SCROLL(self.hbar, self.OnScroll)
def OnScroll(self, event):
print 'OnScroll', asctime()[11:19], 'pos:',
self.hbar.GetThumbPosition()
After a mouse click, pageup, arrow key.... the OnScroll event is fired
twice.
Jean-Michel Fauth, Switzerland