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

Listbox

Status
Not open for further replies.

Jengo

Programmer
Apr 17, 2000
100
US
How do you, through code, make a list box select more than one selection, when the mulitselect function is on.&nbsp;&nbsp;For example:<br><br>if tmp = Yes then<br>'select that one<br>if tmp1 = Yes then<br>'keep the previous selected one, and select the new one to.<br>?????&nbsp;&nbsp;Any help?
 
in a for next loop use the &quot;.selected&quot; property<br>Look at &quot;Listcount&quot; to get a count for your Loop<br>and &quot;ListIndex&quot; for the ID of a list box item <p>DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top