Adds a result to the "DictionaryFindResults" collection.

Syntax:

Add( SourceText As String, TargetText As String, Note As String,
Origin As String, MatchValue As Long) As DictionaryFindResult
Return: DictionaryFindResult
Parameters: SourceText Source text to be shown in the result list.
TargetText Target text to be shown in the result list.
Note Note to be shown in the result list.
Origin Origin to be shown in the result list.
MatchValue Match value of the new result entry.

Example:
Dim DictFindResWnd As DictionaryFindResultsWindow
Dim DictFindResults As DictionaryFindResults
Dim DictFindResult As DictionaryFindResult

Set DictFindResWnd = Application.Windows.DictionaryFindResultsWindow
Set DictFindResults = DictFindResWnd.DictionaryFindResults

Set DictFindResult = DictFindResults.Add("Source", "Target", "Note", "Test.tmw", 100)

See also:

Class TranslationEditBar.Results


Last Updated: 04/26/05