VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Shuffle/Rearrange Items in a listbox.

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]

Rate Shuffle/Rearrange Items in a listbox.

Download Shuffle/Rearrange Items in a listbox.

Download Shuffle/Rearrange Items in a listbox. (5 KB)

Shuffle/Rearrange Items in a listbox. Comments

No comments have been posted about Shuffle/Rearrange Items in a listbox.. Why not be the first to post a comment about Shuffle/Rearrange Items in a listbox..

Post your comment

Subject:
Message:
0/1000 characters