• WPTools 4 customer with the WPTools 5 demo to evaluate upgrading.

    One of the issues we have run into is the removal of the TWPCustomRichText.DeleteTextAtCp command.

    After searching the forums, going up the PDF, and Help Files we are unable to find a replacement for this command.

    Is there a new procedure we are simply missing?

    • Offizieller Beitrag

    Hi,

    InputString(#127) will delete the chracter at the cursor position.

    There is another, low level function in TParagraph class:

    WPRichText.ActiveParagraph.DeleteChars(
    WPRichText.ActivePosInLine, count )

    which would not delete a paragraph break as InputString(#127) does

    Julian