IsDirty Property
True if the page displayed in the specified page window has changed since the last time the user saved the page. Read-write Boolean.
expression.IsDirty
expression Required. An expression that returns a PageWindowEx object.
Example
The following example checks if the active page has changed, and then executes the Save method if the page has been modified.
Private Sub DirtyDocument()
Dim myPage As PageWindowEx
Dim myDoc As FPHTMLDocument
Dim mySaveCheck As Boolean
Set myDoc = WebWindows(0).PageWindows(0).Document
Call myDoc.body.insertAdjacentHTML("BeforeEnd", _
"<b> modified </b>")
If ActivePageWindow.IsDirty = True Then
ActivePageWindow.Save
End If
End Sub