Użytkownik Jacek Kałucki napisał:
> Hi,
>
> I have form with two dImage controls on it's edit page,
> that are bound to blob table fields and contains images
> or eventually are empty.
> I filled the table with images from without application
> and everything is working properly, especially images
> are displayed as they should (or controls are empty).
> But when I'm trying to add new record from within application,
> after I choose "New" button in toolbar,
> wxPython error window comes with message:
>       no handler found for image type
>
> The good news is that after I click "Ok", I can continue
> and set desired images as control/filed values.
> Bad news is that dImage controls completely looses
> its behaviour, I mean: border, size and scale mode.
> Any suggestions folks, what can I do to avoid that?
>    

Don't bother.
I resolved this issue by setting those field values to None
in bizobj.afterNew() method.

-- 
Regards
Jacek Kałucki

_______________________________________________
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