Wie wäre es ...?
Bestimmt cool!
Aber wie?
So geht es anscheinend nicht:
Dim rtpStyle As NotesRichTextParagraphStyle ' Leo Align Left
Set rtpStyle = session.CreateRichTextParagraphStyle ' Leo Align Left
'rtpStyle.Alignment = ALIGN_LEFT ' Leo Align Left
Dim pos As Long
Dim interval As Long
pos = RULER_ONE_CENTIMETER
interval = RULER_ONE_CENTIMETER * 5
Call rtpStyle.SetTabs(6, pos, interval, TAB_LEFT)
Message.Form = "Memo"
Message.Principal = "Bruce Willis/World"
Message.SendTo = "Leo/World"
Message.Subject = "Hello World"
Call rtitem.AppendStyle(richStyle) ' Leo Style
Call rtitem.AppendParagraphStyle(rtpStyle) ' Leo Align Left
Call rtitem.AppendText( "Hi there")
Call rtitem.AddTab(1)
Call rtitem.AppendText( "Hi there")
Call rtitem.AddTab(1)
Call rtitem.AppendText( "Hi there")
Call rtitem.AddTab(1)
Call rtitem.AppendText( "Hi there")
Call rtitem.AddTab(1)
Call rtitem.AppendText( "Hi there")
Call rtitem.AddTab(1)
Call rtitem.AppendText( "Hi there")
Call rtitem.AddNewLine( 2)
While Not doc Is Nothing
' in Common Names konvertieren
Dim nam As NotesName
Set nam = session.Createname(doc.From(0))
Dim nam1 As NotesName
Set nam1 = session.Createname(doc.SendTo(0))
Call rtitem.AppendDocLink( doc, "" )
Call rtitem.AppendText( " " + Left( nam.common ,13))
Call rtitem.AddTab(1)
Call rtitem.AppendText( " " + Left( nam1.common ,18) )
Call rtitem.AddTab(1)
Call rtitem.AppendText( Left(doc.Subject(0),22))
Call rtitem.AddTab(1)
Call rtitem.AppendText( doc.DeliveredDate(0))
Call rtitem.AddNewLine( 1)