This function creates a new message.
object.CreateMessage()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
Display the text of the message.
Dim aMes
Dim aMessageRecipients
Dim aPatient
Set aMes = Profile.CreateMessage
aMes.Text = aMes.AddText("Hello! Come to my birthday party!")
aMes.Subject = "Birthday party"
set aMessageRecipients = aMes.Recipients
set aPatient = Profile.SelectPatient
aMessageRecipients = aMes.Recipients.AddPatient(aPatient)
aMes.Send
Profile.MsgBox("The message with the text '" & aMes.Text & "' was successfully sent")
In Profile Client v8 on User Interface Messages can be found in
.