Mask edit box

Does any one know how to "clean" the control mask edit box right after any operation?
It's masked liked "#-####-####".
I do it this way maskEBox1.text ="0-0000-0000",
So it fills it with 0s but I dont want that.
I wanted it to look like this " - - ", in the form.
But It doesnt work right!

Note: I already try to fill it with blank spaces but didnt work.

Comments

  • : Does any one know how to "clean" the control mask edit box right after any operation?
    : It's masked liked "#-####-####".
    : I do it this way maskEBox1.text ="0-0000-0000",
    : So it fills it with 0s but I dont want that.
    : I wanted it to look like this " - - ", in the form.
    : But It doesnt work right!
    :
    : Note: I already try to fill it with blank spaces but didnt work.
    :
    :

    Hello,
    we can not clear text in the MaskEdBox but you can set it as it format.
    For example:

    MaskEdBox1 = "0-0000-0000"

    when you "clear" it you set as maskEdbox="_-____-____"

    try it

    All the best



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion