List control helper (.bas module)
Category:
Forms and ControlsType:
ModulesDifficulty:
IntermediateAuthor:
Intelligent Solutions Inc.Version Compatibility:
More information:
A .bas module containing four methods that enhance the functionality of list controls (list boxes, combo boxes, and other controls with similar interface).
The functions include:
InListControl: Determines if a given string is an element of a list control.
PopulateListControl: Populates a list control with the elements of an array or collection.
ListItemToIndex: Returns the index of a string contained a list control (or -1 if the string is not present).
DuplicateList: copies the contents of one list control to another.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.
Download listhelper.bas