MaskedTextBox - How to hide the prompt characters?

  • Thread starter Thread starter mehdi_mousavi
  • Start date Start date
M

mehdi_mousavi

Hi folks,
I need to hide the prompt characters not only "OnLeave" but also
"OnFocus"! i.e., if the control has got the focus, I need to hide the
"Prompt Characters" too.

Any help would be highly appreciated,

Cheers,
Mehdi
 
So, you never want to see the prompt character? Will making it a space
( maskedTextBox1.PromptChar = ' '; ) do what you want?

==================
Clay Burch
Syncfusion, Inc.
 
Back
Top