#6569
Support 1a
Participant

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