![]() |
Auto Select in VB List Box
When a List Box control has the focus, it will automatically scroll to the first item that begins with the letter you type. It will not, however, automatically select items based on more than the first letter. For example, if you type go, you may want the control to select the first item that begins with go. This tip explains how you can implement this behaviour using the API function SendMessage. Its declaration, which must be included in the program, is as follows:
Code: VB
Code: VB
Code: VB
|
Re: Auto Select in VB List Box
I have it in the combo box and will soon be adding it here.
|
Re: Auto Select in VB List Box
Quote:
Something like Code: CSharp
|
Re: Auto Select in VB List Box
I guess VB doesn't have editable combo boxes!
|
Re: Auto Select in VB List Box
Quote:
|
Re: Auto Select in VB List Box
I have a question concerning a gui. I am trying to get a selected text in a textbox to be slecected with either a swipe of a card, or a click of a button. This text will then be printed to a printer. This seems complicated, and i am trying to figure it out.
If anyone could help that would be great. again, the text in the text box all goes to an access database...but through a search function the database comes back and filles in the appropriate text box fields. when that search happens, i need certain text to be captured. when the text is captuerd, maybe it can be pasted into a word doccument or notepad, to be automatically printed? Thanks again. :sosp: |
Re: Auto Select in VB List Box
If you jump into an year old thread with your query I doubt any one would even bother to look at it and reply
|
| All times are GMT +5.5. The time now is 23:44. |