At 12:19 PM 2/19/2007 -0800, you wrote:
>On Monday 19 February 2007 12:03, Ken Dibble wrote:
> > > > Dabo IDE version 0.7s (Revision 721)
> > >
> > > Sorry to sound like a snob, but I can't support problems like
> > > this in old versions of the IDE. So much has changed since the 0.7
> > > release that inevitably the answer to problems like this is "it's fixed
> > > in the current Subversion trunk".
> > >
> > > Since I can't add stuff to the 0.7 branch, and the 0.8 release is
> > >still a few weeks away, my only recommendation is to work with the
> > >current Subversion code. Contrary to the labels, it's actually more
> > >stable than the released stuff, since lots of things have been fixed.
> >
> > Okay, I now have:
> >
> > Platform: Win
> > Python Version: 2.4.4 on win32
> > Dabo Version: Version 0.8a; Revision
> > UI Version: 2.6.3.3 on wxMSW
> >
> > I can now get a context menu by right-clicking on the dGrid node in the
> > Object Info tree. If I delete the grid, I get an empty Class Designer
> > window (no visible panel; the body of the form appears "sunken" and is the
> > Windows "application background" color), but the tree says the panel is
> > still there. I get the context menu I expect by clicking in the form body,
> > though.
> >
> > However, if, instead of deleting the grid, i delete the sizer that contains
> > it, the Object Info tree indicates there's nothing on the form, but the
> > panel is visible on the form (the body of the form is the Windows "3-D
> > objects" color and is indistinguishable from the form's border and menu
> > area. And if I right-click this area, nothing happens.
> >
> > So item 1 in my original report is fixed; I can get a context menu on the
> > grin node in the Object Info tree.
> >
> > However, item 2, inability to get a context menu in the form after deleting
> > the sizer with its contained grid, remains.
> >
> > I do very much like that in this version, closing my form doesn't kill the
> > Class Designer.
> >
> > Thanks!
> >
> > Ken Dibble
> > www.stic-cil.org
>
>Any sort of error (traceback) or any Dabo logs reports?
>
>It sounds like the ClassDesigner is getting confused. Try to get the form to
>refresh by clicking on any of the other windows that are open. I normally
>click on the editor window and choose a different object - then return to the
>object I'm interested in. That normally fixes the object tree too.
>
>The ClassDesigner is still in development and has a few rough edges. But I
>can delete a sizer that contains controls (including a grid) and then right
>click to add a different sizer. In fact I do it often when experimenting
>with the form design.
>
>Maybe I don't understand what you are doing. When you see this problem are
>you left with only a form and a dPanel?
Now I can't run the form--any form that I create. I've shut down the Class
Designer, deleted the old form, created a new one again following the "How
to" instructions, and it won't run. When I hit the "Run..." item in the
File menu, nothing happens. It does generate an error log, though:
Traceback (most recent call last):
File "C:\Program Files\Dabo Runtime\dabo\lib\eventMixin.py", line 97, in
raiseEvent
File "C:\Program Files\Dabo Runtime\ide\ClassDesignerFormMixin.py", line
127, in onClose
File "ClassDesigner.py", line 1862, in designerFormClosing
AttributeError: 'LayoutSizer' object has no attribute 'Form'
Traceback (most recent call last):
File "wx\_core.pyc", line 13539, in <lambda>
File "C:\Program Files\Dabo Runtime\dabo\ui\uiwx\dPemMixin.py", line
307, in _afterInitAll
self.afterInitAll()
File "c:\docume~1\kend\locals~1\temp\tmpssyt3l.py", line 596, in
afterInitAll
File "C:\Program Files\Dabo Runtime\dabo\ui\uiwx\dTreeView.py", line
465, in setRootNode
itemID = self.AddRoot(txt)
File "wx\_controls.pyc", line 5527, in AddRoot
wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed in
..\..\src\msw\treectrl.cpp(1647): can't have more than one root in the tree
^
SyntaxError: invalid syntax
Platform: Win
Python Version: 2.4.4 on win32
Dabo Version: Version 0.8a; Revision
UI Version: 2.6.3.3 on wxMSW
Ken Dibble
www.stic-cil.org
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.18.2/692 - Release Date: 2/18/2007 4:35
PM
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users