Richtextbox Formatting Borders

Posted by: mahe_adifo on 4 August 2017, 3:01 pm EST

  • Posted 4 August 2017, 3:01 pm EST

    Hi,

    I add a RichTextBox in the report at run-time. Not a RichEdit, but a Microsoft Richtextbox.

    It is possible to format the borders at designtime, if you add a RichTextBox through the button ActiveX and rightclick Format Borders.
    But how can I format that the borders of that control at run-time?

    Thanks in advance

    Matt


  • Replied 4 August 2017, 3:01 pm EST

    Unfortunately, I couldn't find a way to do in code what you can do with the Format border dialog. Your alternatives are to do it at design time or use the DrawLine method in code to draw a line around the RichTextBox control.
Need extra support?

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

Learn More

Forum Channels