by Adhimas Setianegara (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(4 Votes)

New features: LabelStyle [was:Color properties and font properties.]
I create this user control because I am tired of having to repeatedly put a label control whenever I put a textbox control. Basically, this user control is a combination of a label and a textbox control. However, I have added an optional lookup button at the right side of the control so you can use it as a lookup button.
Other features include auto highlight of text inside the textbox, make ENTER key in textbox behave like pressing TAB key (ie. move focus to next control), and set keyboard shortcut to click the lookup button.
Please let me know if there are any bugs.
Assumes
This code is free for your commercial and non-commercial use as long as you acknowledge and mention my name as the copyright owner of this code at some place visible to the user of your software.