Hallo,
Is there a way to show auto complete items on mouse enter ?. It works when i type the first letter but i want it when i put the cursor on the textbox. is it possible?
Thanks
Hallo,
Is there a way to show auto complete items on mouse enter ?. It works when i type the first letter but i want it when i put the cursor on the textbox. is it possible?
Thanks
Hi @Hobbyistprogrammer-7674 ,
You can consider prefixing all auto-complete items with a space so that you can type space to see all the items.
Also take a look at : How to make autocomplete on a TextBox show suggestions when empty
It can be done by using directly IAutoComplete2 interface with ACO_UPDOWNKEYDROPSLIST flag
Then you can simulate Key Down for example to show the list
I tested on Set Focus , but you can do it on Mouse enter or any other event =>

A test with IAutoComplete2 and MouseEnter event (add a TextBox)
(when an item has been chosen, it displays sometimes an empty list, not sure if it is normal...)
I cannot post code in Comments : IAutoComplete2 Test
Hello,
A TextBox setup for autocomplete does not have a method and event to display the autocomplete list on mouse event. You would have to write a custom TextBox which would be a good deal of work to accomplish what you are asking for.
5 people are following this question.