Group: Forum Members
Last Active: 8 Years Ago
Posts: 15,
Visits: 3
|
Hi,
I read that the NComboBoxes are "custom comboboxes written entirely from scratch", but apparently they don't have WindowsForms ComboBox features like Autocomplete. Am I missing something or it's just not implemented?
Thank you.
|
Group: Forum Members
Last Active: 1 days ago @ 1:54 AM
Posts: 3,054,
Visits: 4,009
|
Hi Imanol, Check the code snipped below. nComboBox1.Editable = true; nComboBox1.EditControl.AutoCompleteMode = AutoCompleteMode.Suggest; nComboBox1.EditControl.AutoCompleteSource = AutoCompleteSource.CustomSource; ... Hope it helps.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 8 Years Ago
Posts: 15,
Visits: 3
|
Thanks a lot, I had missed that. However, when I try this other source:
"nComboBox2.EditControl.AutoCompleteSource = AutoCompleteSource.ListItems;"
I get this error:
"The value AutoCompleteSource.ListItems is not applicable to the TextBox control."
I can just leave the CustomSource and fill it with an AutoCompleteStringCollection, and I will get the desired result, but is that the only way?
Thanks!
|
Group: Forum Members
Last Active: 1 days ago @ 1:54 AM
Posts: 3,054,
Visits: 4,009
|
Hi Imanol, This is part of TextBox functionality, which we use when NComboBox is editable.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 8 Years Ago
Posts: 15,
Visits: 3
|
Thanks for your response.
|