scrolling frame

Peter Damoc wrote:

···

On Tue, 17 May 2005 15:11:59 +0300, Timothy Smith > <timothy@open-networks.net> wrote:

i have my mainfram, and in it a panel. pretty simple. but if i put item in the panel thay exceed the size of the window, the frame doesn't have scroll bars to allow me to view the extra content. what must i do to make a frame which scrolls?

use a ScrolledPanel.
see Demo->More Windows/Controls->ScrolledPanel code for more info.

Peter.

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

cheers for the help
however i've done the following, and the panel loads without an error, but i see no scroll bars! code is below

import wx.lib.scrolledpanel as wxScrolledPanel

#self being my MainFrame
testpanel = wxScrollPanel.ScrolledPanel(self,-1)