Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

-----------------------------------------------------------------------------------

 

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.

 

-----------------------------------------------------------------------------------

sOMEONE'S gONNA dO iT, wHY nOT yOU ?
Posted
-----------------------------------------------------------------------------------

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?

Posted

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.

sOMEONE'S gONNA dO iT, wHY nOT yOU ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...