Hi, I have this image in a panel

        foto = dabo.ui.dImage(self,
                                             RegID='Foto',
                                             DataSource='Tarjeta',
                                             DataField='Foto',
                                             Size=(200, 200),
                                             ScaleMode='Stretch',
DroppedFileHandler=self.Form)

and then in the form I have :

    def processDroppedFiles(self, filelist):
        self.Foto.Picture = filelist[0]

This works ok as far as that when I drag and drop a picture into the dImage the control will show the dropped picture. But it will not be persisted in the db. I mean, before committing I change any other field then go to the next record, come back and I'll see the change I made, but with the dImage when I come back I still see the old picture. What am I doing wrong here?



--- StripMime Report -- processed MIME parts ---
multipart/alternative
 text/plain (text body -- kept)
 text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.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