On Oct 3, 2013, at 4:33 PM, Ricardo Aráoz <ricar...@gmail.com> 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: Dabo-users@leafe.com
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/12a90ded-2f24-4ddb-88af-69a965b1d...@leafe.com

Reply via email to