Howdy, Stranger!

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

Categories

Mask edit box

EstebanEsteban Member Posts: 5
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

  • mikitanmikitan Member Posts: 28
    : 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



  • Justin BibJustin Bib USAMember Posts: 0

    ____ / http://forcoder.org / free ebooks and video tutorials about || JavaScript Visual Basic .NET C++ C Objective-C Swift PL/SQL PHP Ruby Java Python C# Visual Basic Assembly Go Perl R MATLAB Delphi Scratch Prolog Logo Crystal Rust FoxPro Erlang LabVIEW Hack Bash Alice Clojure Transact-SQL ABAP ML Ada Dart COBOL Scala Lua Apex Scheme Fortran Awk Kotlin D Lisp F# VBScript Julia SAS || ________

Sign In or Register to comment.