Feb 5, 2003 #1 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?
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?
Feb 5, 2003 #2 JohnYingling Programmer Mar 24, 2001 3,742 US 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) http://www.VBResizer.com Forms/Controls Resizing/Tabbing Control http://www.VBCompare.com Compare Code (Text) http://www.VBSortGen.com Generate Sort Class in VB or VBScript Upvote 0 Downvote
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) http://www.VBResizer.com Forms/Controls Resizing/Tabbing Control http://www.VBCompare.com Compare Code (Text) http://www.VBSortGen.com Generate Sort Class in VB or VBScript