Problem about MaskCellType

Posted by: mrarsenal27 on 22 June 2018, 6:17 am EST

  • Posted 22 June 2018, 6:17 am 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.
  • Marked as Answer

    Replied 25 June 2018, 6:28 am 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
  • Replied 1 July 2018, 9:39 pm EST

    thanks you so much :)
Need extra support?

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

Learn More

Forum Channels