On Monday, November 07, 2011 10:35:10 am Werner F. Bruhin wrote: > On 11/07/2011 07:02 PM, John Fabiani wrote: > > Hi, > > I have several scrollpanels on a form (the panels are on different tabs). > > When I clear the form for the next data input the scrollpanels keeps the > > cursor at the bottom of the panel. I have tried using > > scrollVertically(100) but I discovered that only works if the > > scrollpanel is visible. > > > > Is there a way to move the cursor to the top of the panels when the panel > > is not visible? > > What about scrollpane.ScrollIntoView(firstchild) or something similar? > > See wx.lib.scrolledpanel > > Werner
wxPython is using "ScrolledWindow(Panel)" and the method/function ScrollIntoView is NOT available. Thanks, Johnf _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
