On Feb 21, 2009, at 11:00 PM, novnov wrote:

> I made it half way through the step by step, which is pretty good BTW.
>
> At the point when I was supposed to run the completed Clients form  
> something
> failed. First the cmd prompt showed this, I'm not sure exactly when
>
> E:\dabo\ide>ClassDesigner.py
> NO ON CONTEXT 'DesForm' object has no attribute 'createContextMenu'

        I can't seem to get that to happen here. Does it do this all the  
time, or just that one time?

> 'createContextMenu' is not something that the step by step directly
> manipulates. And when I try to run the ClientForm.cdxml, the cmd  
> windows
> just blinks open and then closes...maybe due to that error.

        How are you running the cdxml file?

> So I wanted to inspect the form class I'd created. It seems like  
> there is no
> way to reopen the form class in the ClassDesigner? I read a mixture of
> message about that, myabe it is possible. But I wasn't able to  
> derive it
> from whatever I read. And does anyone have a clue what the
> ''createContextMenu' error might be?


        It's very easy to re-open a cdxml file. From the command line, just  
type:

python ClassDesigner.py path/to/mySaved.cdxml

        Or, if you already have the Class Designer running, choose the File/ 
Open menu to open a saved design.

        As far as the message about 'createContextMenu', that's a common  
method in the Class Designer classes, and is called when you right  
click on things. You would get that error if you had the Object Tree  
visible and right-clicked on the main form itself. Looking over the  
code, I can add code to handle that case, but it doesn't explain why  
you got that message by simply trying to start the Class Designer.


-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to