Closed GoogleCodeExporter closed 9 years ago
Imagelistview only saves small thumbnails of images. Large images are extracted
every time they are needed (ie. in gallery mode) To supply large images to the
control you need to handle the RetrieveVirtualItemImage event.
Original comment by oozcitak
on 5 Jul 2010 at 10:42
Thanks you for replying.
Could you make it clearly .. i'm try but nothing with RetrieveVirtualItemImage.
(sorry .. i'm new)
Thanks OOzcitak.
Original comment by commando...@gmail.com
on 5 Jul 2010 at 3:09
With imagelistview 5.0 ! In gallery mode, large image will show automatic. But
in v6.8 large image equal thumnail image.
Thanks.
Original comment by commando...@gmail.com
on 8 Jul 2010 at 6:46
Hi,
I found and fixed a bug while writing some sample code for you, so please first
download the latest version (6.9). Afterwards, you will need to handle the
RetrieveVirtualItemThumbnail event of the control (*not*
RetrieveVirtualItemImage as I wrote above, sorry for that). In the event,
you'll need to return a large image for the given item. e.g.:
object idImage = e.Key;
Image img = MyGetItemImageFromDatabase(idImage);
e.ThumbnailImage = img;
Original comment by oozcitak
on 8 Jul 2010 at 8:11
Thanks OOzcitak !
i get new problem .. and i need your help.
i have 2 form.
One is: MainForm load image from database to imagelistview, (as thumnail view).
and using itemclick to open Form 2 with gallery view.
Some time when i close Form 2 i get error message:
"Cross-thread operation not valid: Control 'imgDetail' accessed from a thread
other than the thread it was created on." (imgDetail is name of imagelistview
on Form 2).
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing); >>> error throw here
}
Thanks oozcitak a lot . And sorry, my English too bad.
Original comment by commando...@gmail.com
on 16 Jul 2010 at 3:48
Can you send me some sample code to reproduce the issue?
Original comment by oozcitak
on 19 Jul 2010 at 12:15
[deleted comment]
Got your email. Thank you.
Original comment by oozcitak
on 24 Jul 2010 at 10:24
This issue was closed by revision r305.
Original comment by oozcitak
on 3 Aug 2010 at 11:14
Original issue reported on code.google.com by
commando...@gmail.com
on 5 Jul 2010 at 8:52Attachments: