Help with InputString AGAIN

    • Offizieller Beitrag

    Hi,

    InputString would not understand RTF codes.

    You can insert RTF text at cursor position using SelectionAsString.

    Example:
    WPRichText.SelectionAsString := SourceWPRichText.AsString;

    Do not use "Text", You will loose the RTF format.

    CPWord may not be useful here. It is used in the AfterCompleteWord event which is the usual event to add makros and auto text support.

    Julian