Have anyone developed a textbox where it is possible to display 2 fields in the textbox. We want to be able to show ID + description in the same textbox. (When user enter the textbox description may go away and the user can enter an ID)
A TextBox displays a single String and that's it. It's not a case of de4veloping a new TextBox. You simply need to create a single String from your two values and then display that in the TextBox. You can handle the Enter and Leave events to manipulate what values are displayed when the control has focus and when it doesn't.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.