Problem about MaskCellType

Posted by: mrarsenal27 on 21 June 2018, 9:17 pm EST

    • Post Options:
    • Link

    Posted 21 June 2018, 9:17 pm EST

    Hi everyone,

    I created maskCellType like this:

    Dim maskCellType As New FarPoint.Win.Spread.CellType.MaskCellType

    maskCellType.Mask = “#####-##”

    but when get by method .Text then value = “12345-__”

    Please help me,

    Thanks.

  • Posted 24 June 2018, 9:28 pm EST

    Hello,

    The Mask is the value in the cell, so using GetValue or Value will always return the mask characters at the end. You would have to parse the value to get rid of the mask characters.

    Hope it clarifies.

    Thanks,

    Reeva

  • Posted 1 July 2018, 12:39 pm EST

    thanks you so much :slight_smile:

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels