images with title in listview

  • Thread starter Thread starter raju
  • Start date Start date
R

raju

hai

In my application, i want to display images with title,(ie, image
bottom of that image title will come) like available in windows
explorer, I tried with largeimage and smallimage list but the title is
not coming, only the image only appearing.

How to achieve this? if it is possible give me the solution.

In image view, can we add subitems?

Thanks.
 
That should work. Can you show us the code?

Simply assign both Text and ImageIndex to the listviewitems...

Cheers
Daniel
 
hello Daniel Moth,

My code is,

For nRow = 0 To nJobs - 1
sJob = oDsJob.Tables(0).Rows(nRow).Item("JobCode")
nitem = New ListViewItem(sJob)
nitem.ImageIndex = 0
lstJob.Items.Add(nitem)
Next

Yes, its working. But the text is display near to that image. But
i need the text, below of that image ie., its like in a control panel
window.

If it is possible, pl. do the needful.

Thanks in advance.
 
Sounds like you have changed the View property of the listview to Details.
Try setting it back to LargeIcon

Cheers
Daniel
 
Daniel said:
Sounds like you have changed the View property of the listview to Details.
Try setting it back to LargeIcon

Cheers
Daniel


Hello Daniel Moth

Thanks....

I changed the view property to largeicon, then its appear
like, what i want.

But, my window size is only 240X295. So, In my list, only 3
items are displaying per row. Is it possible to reduce the space
between each item.

Thanks in advance.

Regards,
Raj.
 
Back
Top