VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



EASY TO IMPLEMENT API Based AutoComplete Class adding full featured AutoCompletion to VB Combo Boxes

by Dr. C (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (18 Votes)

This class is used to EASILY add AutoCompletion such as in Internet Explorer or MS Access to VB Combo Boxes. It makes use of API calls which makes it EXTREMELY efficient. It also gives you the ability to control various properties:
1. The AutoDropdown property
2. Complete RowSource specification (new)
3. The ForceListUsage property (new)
4. The LimitToList property
5. The AutoUpdateList property
*******************************************
**********PLEASE REMEMBER TO VOTE**********
*******************************************

Inputs
Simply define a class and link it to the target combo box.
Assumes
The demo project should be self explanatory, but basically all you have to do is add the class to your project and upon the Load event of your form, simply initialize a class instance for each of your combo box controls. The AutoDropdown property can easily be set in code. In the example project I tied it to a check box. Play around with it to see how it works.
Code Returns
Simply the functionality of AutoCompletion.
Side Effects
None.
API Declarations
SendMessage

Rate EASY TO IMPLEMENT API Based AutoComplete Class adding full featured AutoCompletion to VB Combo Boxes

Download EASY TO IMPLEMENT API Based AutoComplete Class adding full featured AutoCompletion to VB Combo Boxes

Download EASY TO IMPLEMENT API Based AutoComplete Class adding full featured AutoCompletion to VB Combo Boxes (21 KB)

EASY TO IMPLEMENT API Based AutoComplete Class adding full featured AutoCompletion to VB Combo Boxes Comments

No comments have been posted about EASY TO IMPLEMENT API Based AutoComplete Class adding full featured AutoCompletion to VB Combo Boxes. Why not be the first to post a comment about EASY TO IMPLEMENT API Based AutoComplete Class adding full featured AutoCompletion to VB Combo Boxes.

Post your comment

Subject:
Message:
0/1000 characters