Hi,
I use the ImageEnMView in combination with the ImageEnView in my application.
The filenames of the pictures are in a table referenced to another table with the details of machines.
I copied a sequence of your demo projects for databinding the viewer objects.
(* Datasource with filenames *)
fDBMultiBitmap := TIEDBMultiBitmap.create(Datenmodul.MaschinenFotosSource, '', 'Dateiname');
fDBMultiBitmap.ImagePath := Datenmodul.Bilderpfad;
ImageEnMView.SetExternalMBitmap(fDBMultiBitmap);
fDBMultiBitmap.FollowDBCursor := True;
// Create our DB Bitmap and point to our table which contains display name and image blob fields
fDBBitmap := TIEDBBitmap.create(Datenmodul.MaschinenFotosSource, '', 'Dateiname');
fDBBitmap.ImagePath := Datenmodul.Bilderpfad;
// Now make our ImageEnView1 use our DB Bitmap as its image container
ImageEnView.SetExternalBitmap(fDBBitmap);
If I navigate through the main dataset with the machine details, the dataset with the picture information changes.
Now I get a violation error or an eieexception of the TImageEnView.Assign method after setting the property AttachedImageEnView to my object. I don't get these errors if this property is empty.
Best regards
Ingo