From: Hans-Peter J. <hp...@ur...> - 2002-02-03 16:47:54
|
Hi wxPythonics, I'm currently working on an inhouse project, involving ui for different forms/grids working on sql databases. On a former project, I chose notebooks for the different forms, but found that concept too limiting (scrolling notebooks is awfull). Now that I dicovered boa (again), I consider the "outlook" way as a nice alternative: Using a wxTreeCtrl on the left, main screen right, and a log frame (wxTextCtrl) below (based on two spitter windows): +------------+----------------------------------------+ | Task1 | Main | | Subtask1 | | | Task2 | | | Subtask2 | | | | | | | | | |----------------------------------------+ | | Log | | | | +------------+----------------------------------------+ I think wxPanel would be the right container for Main, is it? What I want to archieve, is creating the different main forms separately in external wxFrames or the like. I tried in wxFrame1: def __init__(self, parent): self._init_ctrls(parent) import wxFrame2 self.dblogin = wxFrame2.create(self.mainWin) self.mainWin is the wxPanel mentioned above. Doesn't work :-( I also tried wxScrolledWindow as a container. How can I layout different forms externally and overlay them in my mainWin with Boa? Any hints? For your confidence, I've attached this example. Thanks for listening, Hans-Peter |