/ Forums / Advansys Formativ / Creating Solutions with Formativ / Format the email bodytext in applet

  • Creator
  • #3922

      I use the following code section to set ” Mr. Support” as text bold. But it does not work. Can you tell me why?

      Call GroupWise.NewMail
      Call GroupWise.FocusSet(10, “”)
      Call GroupWise.TypeText(“Hello “)
      Call GroupWise.FontBold(True)
      Call GroupWise.TypeText(“Mr Support”)
      Call GroupWise.FontBold(False)

    • Author
    • #6613

        sorry, again Msg.BodyText.RTF = iBody, it looks if RTF does not support by GroupWise. Thanks

        Support 1a

          Your first posting example does work as long as the default GroupWise compose view is plain text (actually RTF). It will not work if the compose view is HTML.

          You can force the view to be plain (RTF) text in your applet. See the example below:

          Call GroupWise.NewMail
          Call GroupWise.SwitchToRTFView
          Call GroupWise.FocusSet(10, "")
          Call GroupWise.TypeText("Hello ")
          Call GroupWise.FontBold(True)
          Call GroupWise.TypeText("Mr support")
          Call GroupWise.FontBold(False)


          Advansys Support

        Viewing 2 replies - 1 through 2 (of 2 total)
        • You must be logged in to reply to this topic.