by Gonzalo Ramirez (1 Submission)
Category: String Manipulation
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(5 Votes)

Demonstrates how to add an item to a listbox in any desired index. (i.e. Add an item between the 2nd and 3rd item in a listbox.)
Demonstrates how to shuffle/rearrange items in a listobx (i.e. Moving an item "up" or "down" the list at runtime).
Inputs
String to add to a listbox.
Index to determine where the new item will be added.
Assumes
This was coded in VB6 and works with VB5. I don't believe it will open in VB4, much less VB3, but the codeing concept should work with those versions.
Code Returns
Item added to the specified location.
Side Effects
[none]
API Declarations[none]