VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Listbox Replacement Class V1.2

by HardStream (5 Submissions)
Category: Custom Controls/Forms/Menus
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

I often find myself in need of a listbox in applications in which I don't use forms. I couldn't find anything on VBC (which would have saved me some time), so I just wrote my own. This is just a simple listbox class, no events, no confusing, never ending functions, just plain, simple VB code (I haven't used any APIs :D). The class is very small (only 2.3 kb). Also, this class can have more than 32767 items, because I've used Longs, and not Integers (like the VB listbox).
V1.2
New features (since V1.0):
--V1.1:
1) alphabetically sorting (module by Rde)
2) Add items somewhere in the middle of the list
3) Transport the list to a control (build-in textbox/listbox/combobox support)
4) Events
--V1.2:
5) Search
6) Import from and export to a file
7) Encryption/decryption*
*The encrypting/decrypting doesn't work very well. I'm not really an expert on encrypting/decrypting, so if anyone can (re-)write this for me... :D

API Declarations
Some, but the can be removed

Rate Listbox Replacement Class V1.2

Download Listbox Replacement Class V1.2

Download Listbox Replacement Class V1.2 (16 KB)

Listbox Replacement Class V1.2 Comments

No comments have been posted about Listbox Replacement Class V1.2. Why not be the first to post a comment about Listbox Replacement Class V1.2.

Post your comment

Subject:
Message:
0/1000 characters