On Oct 3, 2013, at 4:33 PM, Ricardo Aráoz <[email protected]> wrote:

>> Data is persisted through the Value property. What happens if you set that 
>> to the contents of the dropped file?
>> 
> It sort of works.
> Replaced self.Foto.Picture = filelist[0] with self.Foto.Value = filelist[0]

You replaced the Value with the file path, not the contents. Try this:

self.Foto.Value = open(filelist[0], "rb").read()


-- Ed Leafe





_______________________________________________
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