Posted By: FrogPad | Aug 19th, 2004 @ 12:33 PM
page 1 of 1
Comments: 3 | Views: 4946
Is it possible to control individual lines of text with the ListView control in Tile Mode.
Windows explorer already does this. For example, in Tile mode it will display an Icon, then to the right it will display the following text.
_____
|         |  File Name

| icon  |  File Extension
|         |  File Size
-------
Or you can look at this screenshot.
How can you control individual lines of text like this? Is it even possible using the listview control?





theogray_com
theogray_com
Madness is all in the mind
Steve McMahon over at vbAccelerator.com has got this covered:

http://vbaccelerator.com/article.asp?id=4089

I've used his SGrid controls in the past to great effect, so I'd imagine the ListView control is of an equally high standard. Usually there's the odd minor bug in the code that you'll find over time, but with the full source code (http://vbaccelerator.com/zip.asp?id=4175) you can tweak to your heart's content!

(Note at the required references on the download page which you just need to have registered as well)
TomasDeml
TomasDeml
Run Chiro, Run!
Yes, there is the option [but under .NET].

Try this:

ListView.Subitems[i].Forecolor = color;

where i is number of the subitem.

With ListView.Subitems[i]..., you can control every subitem.

Hope it helps.
page 1 of 1
Comments: 3 | Views: 4946