text formating in textbox
C#
2
Posts
2
Posters
3
Views
1
Watching
-
hi, how can i put string formatting to my textbox?for example i want user to input the date so i want to have two "/" in the textbox to have the "yyyy/mm/dd" formatting thanks
You need to format the string first, then pass it to the textbox. Or if you want to type it and see it formatted as you type, you need to write your own textbox, with the existing textbox as a base class, and format the string yourself. Christian Graus - Microsoft MVP - C++