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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

list boxes and check boxes

Status
Not open for further replies.

natashaXXX

Programmer
Sep 13, 2002
13
GB
Is it possible to have a listbox with checkbox against each option? If not, is it at least possible to give the illusion of this, as this is for a demonstration and does not need to be functional. It should be possible to check the box.

This could be demonstrated by having a small image of a check box in the list box before the text, but then would need to swap images with a checked box to demonstrate.

Would this be possible, and if so how do i get an image in a listbox and swap images on clicking.

The background behind this is someone has written a vb application which includes a listbox with each option having a check box against it, but I need to demo this to show the flow of the vb application but in web pages.


many thanks.
 
... create a table - you might run into difficulty with the actual bullets in the list item, I'm not too sure. but you could create an image of a bullet and use that each time. something like this:
Code:
<table border=&quot;1&quot;><tr>
<td><img src=&quot;bullet.gif&quot;></td>
<td>Option 1</td>
<td><input type=&quot;checkbox&quot;></td>
</tr></table>

hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top