Quantcast
Channel: ScintillaNET Forum Rss Feed
Viewing all articles
Browse latest Browse all 296

New Post: Manually set index of selected AutoComplete Item?

$
0
0
Hi there,

I'm currently trying to give my AutoComplete List a little Memory, just like in Visual Studio. So if I have for example this list:

sin
sinc
sinh

and I choose and accept the second item, "sinc" I want that when the user the next time types a "s", the list automatically selects "sinc" and not "sin", although its above "sinc". So that the list "remembers" the users choices.

I already implemented everything to achieve this, I only have to change the Starting-Selection when the first char is entered and triggers the AutoComplete List. I tried to do so by using

scintilla1.AutoComplete.SelectedIndex = myIndex

but this doesn't work at all. How can I change the selected item then?

Greetings,
2mQ

Viewing all articles
Browse latest Browse all 296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>