flann Posted August 17, 2005 Posted August 17, 2005 Is it possible to display thumbnails in the listview? I want to display the thumbnails as previews of the object. Quote Flann Mortgage Calculator | Debt Free Credit Card Debt | Filing Bankruptcy
FYRe Posted August 17, 2005 Posted August 17, 2005 ----------------------------------------------------------------------------------- Well, I've tried it out, and.. it's possible. Follow these steps : 1) Insert am "ImageList" component by clicking on it and then click on Form. 2) In the ImageList's property window, look for "Images" property. Click on Collections[...]. Click "Add" to add images one at a time. When you are done, press OK. 3) In the ListView's property window, there's a property called "LargeImageList". Click on its drop-down menu, and select "ImageList1" In the same properties window for ListView, look for "Items" property. Click on Collections[...]. 4) Add the necessary ListViewItem/s by clicking add. In the ListViewItem window, if you wish to add thumbnails in your ListView, click on the drop-down menu "ImageIndex" & select your preferred thumbnail. Voila ! Done. ----------------------------------------------------------------------------------- Quote sOMEONE'S gONNA dO iT, wHY nOT yOU ?
flann Posted August 17, 2005 Author Posted August 17, 2005 ----------------------------------------------------------------------------------- 4) Add the necessary ListViewItem/s by clicking add. In the ListViewItem window, if you wish to add thumbnails in your ListView, click on the drop-down menu "ImageIndex" & select your preferred thumbnail. ----------------------------------------------------------------------------------- I'm not seeing the drop-down menu "imageIndex" where I can select thumbnail. Is there a way to do this programatically? Quote Flann Mortgage Calculator | Debt Free Credit Card Debt | Filing Bankruptcy
FYRe Posted August 17, 2005 Posted August 17, 2005 I think you misunderstood... =) nvm, from Step 2) Click on the ListView on your form. Go to its "Items" properties menu. Click on "(Collection)" button [...] A ListViewItem Collector Editor window pops-up. Click on "Add" button to add a ListViewItem. In the same "ListViewItem Collector Editor pop-up window", there is a ListViewItem property, "ImageIndex". Click on the drop-down menu and select the preferred image that you have uploaded onto ImageList. Note: ListView window is not the same as ListViewItem window. Quote sOMEONE'S gONNA dO iT, wHY nOT yOU ?
flann Posted August 17, 2005 Author Posted August 17, 2005 thank you, I did get it to work that way, but what I'm trying to do is to have it automatically display the associated thumbnail by file type. More specifically, the pdf thumbnail view that shows a very tiny version of the document. Do you know if that is possible? Quote Flann Mortgage Calculator | Debt Free Credit Card Debt | Filing Bankruptcy
FYRe Posted August 17, 2005 Posted August 17, 2005 as for that, I'm not too sure if it can automatically display the associated thumbnail by file type... maybe you can try out this link: http://msdn.microsoft.com/ .. try searching for "ListView" Quote sOMEONE'S gONNA dO iT, wHY nOT yOU ?
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.