wxScrolledWindow in a wxNotebook page/tab

Hi,

notebook_with_scrolled.py (2.01 KB)

···

On Tuesday, October 30, 2012 9:20:31 AM UTC-5, Martha Morrigan wrote:

I did a program in python, it uses the wx.Notebook with 5 pages/tabs.

The Main.py calls each pageX.py file.

But one of pages is longer than others, full of crtlboxes and radiobtns.

I want put vertical scrollbars only in this specific page.

Until now i only managed to put scrollbars at whole notebook…

I dont want all pages with vertical scroll.

(Using wxScrolledWindow+SetScrollbars at main.py)

Is possible?

Some friend can post some small exemple?

Thanks in advance

Sure it’s possible. The easiest way in my book is to use a ScrolledPanel widget instead of just a plain Panel. I created an example (attached) that is based on the notebook example in the wiki: http://wiki.wxpython.org/Simple%20wx.Notebook%20Example

  • Mike