This filter property is used to load the instruction templates with the specified title.
object.Title
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISInstructionTemplatesFilter interface |
string
Display the number of the instruction templates loaded on the basis of the selected filter and some information about them, including their titles.
Dim aFilter
Dim aInstructionTemplates
Dim aInstructionTemplate
Dim aMessage
Dim i
Set aFilter = Profile.CreateInstructionTemplatesFilter
aFilter.Title = "template"
set aInstructionTemplates = Profile.LoadInstructionTemplates(aFilter)
aMessage = "Instruction Templates Count = " & aInstructionTemplates.Count
for i = 0 to aInstructionTemplates.Count - 1
set aInstructionTemplate = aInstructionTemplates.Item(i)
aMessage = aMessage & vbNewLine &_
(i + 1) & ") " & aInstructionTemplate.Title
if not aInstructionTemplate.Disease is nothing then
aMessage = aMessage & vbNewLine & " - Disease: " & aInstructionTemplate.Disease.Name
end if
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Title can be found in
.