/ Forums / Advansys Formativ / Creating Solutions with Formativ / Formatting Bodytext in New Mail / Reply To: Formatting Bodytext in New Mail
February 5, 2003 at 5:40 pm
#6569
Here’s some code that creates a composing item, then types in some formatted text:
Sub Main(Client, GWEvent)
Call GroupWise.NewMail
Call GroupWise.FocusSet(10, "")
Call GroupWise.TypeText("Hello ")
Call GroupWise.FontBold(True)
Call GroupWise.TypeText("Mr Support")
Call GroupWise.FontBold(False)
End Sub
If you already had a composing item open, use the same code without the .NewMail() line.
I hope this helps.
Advansys Support