RC-WinTrans Object Model Help |
TextTableView.RemoveAt
|
Removes the entry with the given index.
Syntax: |
RemoveAt( Index As Long ) As Boolean |
| Return: | Boolean |
| Parameters: |
Index Index of the entry to be removed from the view.
|
| Example: | Sub TestTextTableView()
Dim View As TextTableView
Dim ProjFile As ProjectFile
Dim TU As TransUnit
Dim Index As Long
Set View = Application.ActiveProject.ProjectDocument.TextTableView
Set ProjFile = Application.ActiveProjectFile
Set TU = Application.ActiveTransUnit
Index = View.GetIndex(ProjFile, TU.Number)
If (View.RemoveAt(Index)) Then
Index = View.Add(-1, ProjFile, TU.Number)
View.Refresh (-1)
End If
|
See also: