Description
Returns the status of the article:
0 normal article opened in read/write mode - ie. it can be checked-out and modified
2 normal article opened in read-only mode - ie. it cannot be checked-out nor modified
6 spiked article
Available in Ted and Fred.
Syntax
iStat = object.Status |
object
Required. Object name. Returned by Ted.GetActiveArticle.
Example
This script displays the status of the article.
If Ted.HasActiveArticle Then
Dim objArticle As IArticle = Ted.GetActiveArticle
Dim iStat As Integer = objArticle.Status
Select Case istat
Case 0 : MsgBox("Normal, read-write")
Case 2 : MsgBox("Normal, read-only")
Case 6 : MsgBox("Spiked")
End Select
End If
Context
Article object