Using the listview control....

B

Brad Pears

I have been asked to provide a screen where users can select icons from a
listview control...

The particular project will involve "window and door" selections. What I
want to do is to provide the ability for the user to filter for different
"types" of windows or doors. Then once they have selected the filter, I want
to use a listview control to display thumbnails of the actual window/doors
pics - related to the filter they have selected. These thumbnails will be
located in a directory structure on a server. The code for loading the
listview will have to determine the correct directory path and then loop
through the appropriate thumbnail images to load them using the "icon" view.
Beneath each thumbnail, I want to display the size of that particular window
or door and a window/door code and possibly some other data... The user
would simply scroll through the l;istview and highlite each window/door they
want included in the house. When they have done this, I will give them a
"Finish" and "Display Selected" buttons. Clicking "Finish" will then build
an actual detail table of the items they have selected from the listview.
"Display Selected" will simply allow them to display all of the selections
they have made in another window - so they can double check...

I have a table that currently contains window/door codes and other info so I
assume the best way to handle this would be to add another field which would
contain the actual thumbnail filename location - either that or determine
what the actual fielname should be based on the window/door type and size
etc... This would save me from having to add another field - it would just
put the onus on the user adding new window/door thumbs to ensure the file is
named appropriately...

Either way, I am assuming that I would loop through the window/door table to
load the listview and load the appropriate thumbs.

Questions...

1) Does anyone have some code I could check out that does this exact type of
thing
2) Can one display info underneath each thumb?
3) If I wanted the user to be able to right click a thumb and change some
properties - i.e. the qty of that particular window/door they want to
include, is that possible?

Any other suggestions???

Any help in this type of thing would be greatly appreciated as I am new to
the listview control for doing this type of thing...

Thanks,

Brad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top