ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Older demo
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

pierrotsc

USA
497 Posts

Posted - Jul 26 2016 :  11:35:02  Show Profile  Reply
Would it be possible to download the older 5.2.2 database demo source ?
Thanks.

xequte

38611 Posts

Posted - Jul 26 2016 :  18:14:44  Show Profile  Reply
Hi

The source for the database demos should not have changed sice 5.2.2 (apart from adding some new demos). Can you explain your requirement?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

pierrotsc

USA
497 Posts

Posted - Jul 26 2016 :  19:57:59  Show Profile  Reply
I am trying to compile the database thumbnail viewer and it chokes on the Tiedbmultibitmap. It looks like that was not part of 5.2.2 but I could be wrong
Go to Top of Page

xequte

38611 Posts

Posted - Jul 27 2016 :  00:33:52  Show Profile  Reply
Hi

The DBMultiBitmap demo did not exist in v5.2.2 (because TIEDBMultiBitmap did not exist). You should use the DBMView demo instead.

This demo will be in under \Demos\Database\ where you installed ImageEn.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

pierrotsc

USA
497 Posts

Posted - Jul 27 2016 :  10:15:04  Show Profile  Reply
Tried the demo you mentioned and i get an error there:
ImageEnMView1.ImageBottomText[ Index ] := Table1.FieldByName('Name').AsString;

It says that it is a readonly property.

Oh well.
Go to Top of Page

xequte

38611 Posts

Posted - Jul 27 2016 :  16:18:51  Show Profile  Reply
Yes, that changed.

But if you have v5.2.2 installed, then you should also have the v5.2.2 demos installed.

Otherwise, change that line to:

ImageEnMView1.ImageBottomText[ Index ].Caption := Table1.FieldByName('Name').AsString;


http://www.imageen.com/help/Updating%20and%20Compatibility.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

pierrotsc

USA
497 Posts

Posted - Jul 27 2016 :  16:30:20  Show Profile  Reply
Thank you. The demo did not really help. I am going through the database demo to see which one may help.
I am trying to have a horizontal thumbnails of images from a database that when i click on a thumbnail, it will open in an imageenvect component.
Thanks.
Go to Top of Page

xequte

38611 Posts

Posted - Jul 27 2016 :  23:50:34  Show Profile  Reply
That should be relatively simple, what problems are you having?

procedure TForm1.ImageEnMView1ImageSelect(Sender: TObject; idx: Integer);
begin
  // When an image is selected, display it in a TImageEnView
  ImageEnMView1.CopyToIEBitmap( ImageEnMView1.SelectedImage, ImageEnView1.IEBitmap );
  ImageEnView1.Update();
end;


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

pierrotsc

USA
497 Posts

Posted - Jul 28 2016 :  07:55:57  Show Profile  Reply
imageenmview does not display blob graphics from a database ? or is it?
Go to Top of Page

xequte

38611 Posts

Posted - Jul 28 2016 :  16:53:38  Show Profile  Reply
Hi

Not in v5.2.2. In the newer versions you can use TIEDBMultiBitmap:

http://www.imageen.com/help/TIEDBMultiBitmap.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: