Im trying to create an app which has multiple functions similar to Active Directory Users and Computers snap in.
The window i am trying to replicate is the dialog with the "check names" button which makes the text fo开发者_如何学编程r each user into a single underlined block which when you hit backspace near it, it deleted the whole thing not just a letter.
In the screenshot below, i am looking to replicate the textbox with the underlined group names in it.
Screenshot of the control i am wanting to replicate.
Hope you can shed some light on how this control is achieved.
Thanks.
Well, you need to create your own custom control.
Subclass TextBox
and add the needed functionallty.
Check this AutoComplete text box and this user searchable text box for nice TextBox
custom controls that will give you ideas on how to do it.
HTH
精彩评论