/ Forums / Advansys Formativ / Creating Solutions with Formativ / Formatting Bodytext in New Mail / Reply To: Formatting Bodytext in New Mail
Sorry i forgot to ask.
i used this code to insert plain text
———————-%————————
NewMsg.BodyText.PlainText = “System: ” & InsTab & ComboBoxKategorie.Text & NL _
& “Datum: ” & InsTab & DateTime1.Date & NL _
& “Uhrzeit: ” & InsTab & DateTime3.Time & NL _
& “Dauer: ” & InsTab & DateTime2.Time & NL & NL _
& “Beschreibung: ” & NL _
& “—————-” & NL & MemoControl1.Text
———————-%————————
you know i want to change this in RTF to do some formats. I tried the code
———————-%————————
iBody = “{rtf1ansiansicpg1252uc1 {This is plain” &_
“par” &_
“par b System:}ComboBoxKategorie.Text{” &_
“par This is }{i italics}{” &_
“par }}”
———————-%————————
but the access to the variable ComboBoxKategorie.Text does not work.
The Result should look like:
——————————————
System: Formativ
Datum: 12.02.2003
Uhrzeit: 12:00:00
Dauer: 00:10:00
Beschreibung:
Great System
——————————————
Any idea.
Thanks again …
Ralf