Select text in cell

Posted by: joebacon-fp on 8 September 2017, 2:56 pm EST

  • Posted 8 September 2017, 2:56 pm EST

    I am new to FP spread.  I have an application in c# that allows the user to enter numeric data in a spreadsheet. What I want to do is when a cell is selected and EditMode becomes true, I want all the text in the current cell to become selected.  That way if they user types something, it replaces the current text.

    Is there a way to do this?

     Thanks

  • Replied 8 September 2017, 2:56 pm EST

    You can set the EditModeReplace property to true. For example...

    fpSpread1.EditModeReplace = true;

  • Replied 8 September 2017, 2:56 pm EST

    Works like a charm.  Thanks!
Need extra support?

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

Learn More

Forum Channels