Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Rich text editors – PB Docs 2018 – PowerBuilder Library

Rich text editors – PB Docs 2018

Rich text editors

You can select from the three rich text editors supported by
Appeon PowerBuilder. The selected rich text editor will be applicable to
the RichTextEdit control, the RichText DataWindow object, and the
RichText edit style.

  • Built-in TX Text Control

    Starting from PowerBuilder 2018, a special OEM version of TX
    Text Control ActiveX X15 is added as a built-in rich text editor in
    PowerBuilder (not in InfoMaker), and it is provided at no cost and
    is highly recommended to be used for backwards compatibility reasons by all existing PowerBuilder projects that already make use of the RichTextEdit of SAP PowerBuilder version 12.6 or older.

  • Built-in Rich Edit Control (TE Edit Control) (default)

    Starting from PowerBuilder 2017, TE Edit Control is provided
    as the default rich text editor for free use by the PowerBuilder
    developer and the InfoMaker developer. This editor provides almost
    the same functions/events/properties as the old one used in
    PowerBuilder 12.6 and earlier.

    Class name difference

    The class name for TE Edit Control is “Ter24Class” in
    PowerBuilder 2017 and 2017 R2, and “Ter25Class” in PowerBuilder
    2017 R3 and 2018. Please make sure to use the corresponding class
    name in your API calls or the third-party auto-test
    scripts.

    However, TE Edit Control has the following issues and
    unsupported features in PowerBuilder:

    • When copying text into the RichTextEdit control, the font
      used may not be the default font for the RichTextEdit control.
      PowerBuilder 12.6 has the same issue.

    • It is unsupported to merge the data of two RichTextEdit
      controls into the third RichTextEdit control. For example, the
      following code is unsupported:

    • RichTextEdit control has problems in handling the space
      width of some fixed width fonts such as Courier and Courier New,
      which causes text not aligned.

    • In DataWindow preview, content of RichTextEdit controls do
      not scale like other controls do.

    • In printout of DataWindows, RichTextEdit controls show
      additional unwanted padding on the top depending on the location
      on the page.

    • SaveDocument will fail if the specified directory contains
      non-English characters.

    • SetFont function or setting font via APIs is
      unsupported.

    • SelectText function supports 98303 as the maximum length.
      If the length is over 98303, SelectText failed to select any
      text.

  • TX Text Control ActiveX X14 Professional/Enterprise

    This is the rich text editor used in PowerBuilder 12.6 and
    earlier versions. If you want to continue using and distributing
    this editor in PowerBuilder 2017 and later, you will have to
    purchase it separately from the vendor (http://www.textcontrol.com)
    and follow the vendor’s documentation to package and distribute it
    to your users.

    Only the Professional or Enterprise edition of TX Text Control
    ActiveX X14 is supported by PowerBuilder 2017 and later; Standard
    edition is not supported.

    The 2400 SP1, 2400 SP2, and 2400 SP3 of TX Text Control
    ActiveX X14 do not support the RichText edit style any more,
    although it supports the RichTextEdit control and the RichText
    DataWindow object. You should use TX Text Control ActiveX X14 2400
    for supporting all of these three features.

For how to select the rich text editor, see the section called “Specifying a rich text editor” in Users Guide.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x