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

Multiselect Listbox in VB.NET

Status
Not open for further replies.

Paladine

Technical User
Sep 16, 2001
26
CA
Ok, maybe I am just really green at VB.NET but with their being no Variant datatype, what would the basic code be for doing a multi-select listbox?

 
See SelectionMode property.

With lstCompareOptions
.Items.Clear() ' Clear
' Add Items
.Items.Add("Remove Leading blanks (Indentation)")
End With

' Get True/False for Selected Options.blnDropLeadingBlanks = lstCompareOptions.GetSelected(idxDropLeadingBlanks) Forms/Controls Resizing/Tabbing Control
Compare Code (Text)
Generate Sort Class in VB or VBScript
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top