Re: [dabo-users] PyDeadObject from Modal Form

Author: Ed Leafe

Posted: 2009-07-07 at 09:53:02

On Jul 7, 2009, at 6:22 AM, Miguel Lopes wrote:

> The bulk of my application is hand coded, and I'm planing to use

> cdxml dForm

> (instantiated as Modal) to edit simple records.

>

> I'm experimenting with such a form, but ran into a PyDeadObjectError

> exception that I can figure out how to avoid. his exception is

> significant

> since I can no longer reinstantiate the same form!

I've never been able to run a dForm as a modal dialog. The error is

occurring in the code that attempts to make the form into a dialog

temporarily, and then turn it back into a form. I'll wait for Paul to

comment on this, since I don't have any experience with this. I am

pretty certain that this hack was never tested with .cdxml forms.

-- Ed Leafe

©2009 Ed Leafe