Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listview control for HTA

Status
Not open for further replies.

ryDen

Programmer
Jun 6, 2002
71
AP
Hi,

I am creating a HTA with a Listview control in it.
Is it possible to have different back colours for each listview row based on a criteria? If so, how do I go about it?

Otherwise, is there other controls that can do this? I tried with a listbox, but while I can get the different back colours for each rows, I cannot get the data to line up like a tabular format (like listview).

Thanks in advance.

Russ.
 
What is a listview control? Is that something you've written youself (I've certainly never heard of a standard HTML control called a listview control)? Do you mean a select element?

Dan


[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
It's an activex control, not the standard HTML control.
It is part of Microsoft Controls, usually used in VB, but as it is more appealing in layout, I used it for my HTA to present a list of items, which users can select and view more detailed information on the selected items.
 
Hmm - there's also a VB ActiveX DLL forum, as well as a few others. Use the forum search facility to find them.

As you said yourself - it's not something that is part of HTML, so you will probably find more help on it in those places.



[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top