RE: [Boa Constr] [ANN] Boa Constructor 0.2.0
Status: Beta
Brought to you by:
riaan
From: Kevin L. <kl...@wa...> - 2003-01-15 22:03:30
|
Bram, > This is the simplest way to reproduce the crash: > > 1. start boa > 2. create a new wxApp by clicking in the Palette > 3. start the Frame desiginer by clicking in the Editor toolbar > 4. Add a wxNotebook by clicking in the Palette (Containers/Layout tab) > and then in the frame Here's where the trouble starts. Tabs need to be added to the notebook before you can add panels. See notes on next step... > 5. Make the notebook a bit bigger by resizing it The first control added to a wxFrame, becomes the "container" for that frame, meaning that the control added becomse the "background" for the frame. There is a slight quirk with the Designer where after the first control added, the frame is not automatically updated. What should happen, is that after the notebook is added to the frame, Post the changes (click on the the little check mark on the Inspector or Editor Window). Posting th= e changes will "write the code" to the python script. Re-open the Designer= , and now the notebook will have filled the entire frame. The next step is to add "Tabs" to the Notebook. This is done by double-cliking on the Notebook. This will bring up the Collection Editor= . Press the "New" button to add a page to the notebook. After the Tab has been added, you may place as many controls as you like. > 6. Add a wxPanel by clicking in the Palette and then inside the created > notebook > 7. BOOM > > I tried with 0.1.5 and it also crashes. Boa will crash, if the orginal steps are done as described. Perhaps ther= e needs to be some checking to catch this condition. Kevin |