Re: [Boa Constr] splitter windows
Status: Beta
Brought to you by:
riaan
From: Riaan B. <riaan@e.co.za> - 2001-08-18 19:42:39
|
Hi Finbarr, Finbarr O'Keeffe wrote: > > I have downloaded the latest version of boa (0.0.12) using cvs to check a > problem we are having with splitter windows. I have created a window and > placed in it a splitter & toolbar. Within the splitter I have place a text > control (window 1) and a list box (window 2). This all seems fine and the > app runs ok. I have the following problems when going back into designer:- > 1] When you go back into designer the splitter fills the window and you > can't see the toolbar anymore. The position in the properties window is > (0,0) and if you change to (0,30) its fine but boa keeps on resetting it > back to (0,0) When you first reported this, it reminded me of a known problem with toolbars on wxGTK. I deserve the stress I caused myself for not reading your description thoroughly :) Your problem (and I know many people run into this once) is that the ToolBar is not connected to the Frame. There is a property called ToolBar on a wxFrame that you must link to the toolbar before the splitter will know which client area to fill. > 2] If you try to delete the splitter window (or even the contents of the > window) boa crashes. I have tried to set the splitter properties of window 1 > & 2 to None and then delete the text & list controls but this does not cure > the problem either. I cannot reproduce this crash with a frame/toolbar/splitter/textctrl/listctrl I've attached the sample that works for me, please test if this crashes for you or not. Please send me the source file that crashes (private mail if you prefer), this should actually be easy to fix once I pinpoint the culprit, but until I can reproduce it I'm helpless. > > Hope the feedback is useful > > Finbarr > > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > http://lists.sourceforge.net/lists/listinfo/boa-constructor-users -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net |