开发者

C# TextBox Autocomplete (Winforms) key events and customization?

开发者 https://www.devze.com 2022-12-24 10:48 出处:网络
I was wondering if it is possible to catch key events for auto-complete list. For example instead of Enter key press for auto-complete use lets say Tab key. A开发者_如何学JAVAlso is it possible to cha

I was wondering if it is possible to catch key events for auto-complete list. For example instead of Enter key press for auto-complete use lets say Tab key. A开发者_如何学JAVAlso is it possible to change the colors and add background image for the auto-complete pop-up list? Currently I have my own implementation which is a separate window(form) with a list-box, which works OK, but Id really like to use .net's auto-complete if it can do what I need.

Thanks for attention.


WinForms's autocomplete is based on Windows Shell's autocomplete, so you can use the same interface. Here are the options of the component. However I am afraid the customization you want is not there.

0

精彩评论

暂无评论...
验证码 换一张
取 消