Using subscript or superscript in a Rich Text

Author: ncolmart@medinfo.fr (ncolmart)

Hi All
We would like to use subscript and superscript in a Rich Text field.
When doing a copy/paste from Word, it works well : subscript and superscript are saved in the field.

Unfortunately the toolbar does not contain any option for subscript and superscript.
How can we manually add them ?

Thanks
Nicolas

2 Comments

  1. take the contents of the RTF field to a plain editbox so you see the RTF tags and edit it there.

    Or from the very old days:

    add a positioner (so you can find your cursor position) ask for the text etc. in another form
    modify your RTF text in proccode (replace positioner with the code) etc ....

    Not too hard .....

    Success, Uli


    Author: ulrich-merkel (ulrichmerkel@web.de)
  2. Hi Uli

    As you suggest, I'll use the old solution...

    Thanks for your help.
    Nicolas


    Author: ncolmart (ncolmart@medinfo.fr)