On Monday, November 07, 2011 01:44:56 pm Werner F. Bruhin wrote:
> On 11/07/2011 08:07 PM, John Fabiani wrote:
> > 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.
> 
> In newer versions of ScrolledWindow it should do ScrollIntoView
> automatically when doing SetFocus, i.e. childOfScrolled.SetFocus()
> 
> But I am not sure I get what you like to see reading your response to Ed.
> 
> Werner

First of all guys my heart is not in this one.  I hate the form I'm building 
and just want it to work.  So far the client is OK with what I have done.

Werner, I'm stuck with 2.8.11 wxPython and 2.6 python so if the solution does 
not work with those I'll stick with what I'm currently doing. 

Paul, I made no effort to determine what the issue was with locking the screen 
and doing the updates.  But I'm no longer concerned.

Johnf 
_______________________________________________
Post Messages to: Dabo-users@leafe.com
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/201111071449.41012.jo...@jfcomputer.com

Reply via email to