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
_______________________________________________
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]

Reply via email to