From: Werner F. Bruhin <werner.bruhin@fr...> - 2004-10-05 09:54:53
Cook, Alan wrote:
> I am writing an application which uses multiple wxFrames to create areas
> which hold user inputted configuration variables in a series of
> wxTextCtrl boxes, and then writes this data into an executable python
> script that can be run on a remote piece of equipment to provision it.
> Up to now I have been able to get all the fields I need to fit within a
> wxFrame that can be displayed on the screen. The wxFrames that I am now
> about to create have so many wxTextCtrl boxes that I need to be able to
> use a vertical scroll bar on the frame to move the contents of the frame
> up and down.
> I have worked out how to add a vertical scroll bar, by selecting
> wxVSCROLL "True", but cannot work out how to make this bar actually move
> the frame contents up and down when I use it. I am sure that I am
> missing some fundamental step, but just cannot work it out.
> Can anyone point me in the right direction?
Have you looked at wxScrolledWindow, or maybe even better
wxScrolledPanel? Check out the wxPython demo, I have not used them but
they look like they would do the job.
Maybe you should also look at wxNotebook and organize all these controls
onto multiple tabs within a notebook.
> *_Alan Cook _*
Get latest updates about Open Source Projects, Conferences and News.