How can I add Autocomplete to a textbox with masks?

.Net has a MaskedTextBox, and there is a TextBox that has an autocomplete member. Autocomplete doesn't seem to be available for MaskedTextBox. How do you get MaskedTextBox working with autocomplete?

I am trying to do this in Visual Basic.

+1


source to share


1 answer


Your only option is to create a custom control that inherits MastedTextBox or TextBox and adds the missing behavior.

Or create a control that encapsulates the TextBox but adds your functionality.



I would take the textbox and add masking because it's easier than adding autocomplete.

+2


source







All Articles