winforms - Which event should be used to tidy the display of a TextBox? -


When a user leaves a text box control, then I want to trim any location and redefine it again I want to update the display with a string.

Should this be done in a holiday, valid or valid event?

thanks

clerance

if you trim the string If I want, I will use the holiday. Validating is useful if you want to cancel the leave (from the tab, click the click etc.) and the text box is selected.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -