Problem about MaskCellType

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

  • 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,
  • Marked as Answer

    Replied 24 June 2018, 9:28 pm EST


    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.

  • Replied 1 July 2018, 12: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