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

  • Creator
    Topic
  • #3922
    Anonymous

      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
      Replies
    • #6613
      Anonymous

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

        #6612
        Support 1a
        Participant

          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)
          

          Regards,

          Advansys Support

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