styledtextctrl isscrolling

hi,
Hi would like to grab an event inside stc.StyledTextCtrl when document stop scrolling.
I see the event wx.EVT_SCROLLWIN but it's fired only when user scroll the document, is there's a way to know when the scroll operation has ended?

···

--
Alessandro Crugnola
Flash | PHP | Python Developer

http://www.blumerstudio.com
http://www.sephiroth.it

+39 3939402645
+39 0236522445
--

Alessandro Crugnola wrote:

hi,
Hi would like to grab an event inside stc.StyledTextCtrl when document stop scrolling.
I see the event wx.EVT_SCROLLWIN but it's fired only when user scroll the document, is there's a way to know when the scroll operation has ended?

Set a timer when you start getting scrolling events, and for every scroll event after that reset the timer. If the timer ever expires then you can assume that scrolling has stopped.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!