Returns True if the specified IFPDocument object has been modified since it was last saved. Read/write Boolean.
This example retrieves the IsDirty property for the ActiveFrameWindow object.
Private Sub GetExternal()
Dim myExternalObject As PageWindow
Dim ckIfDirty As Boolean
Set myExternalObject = _
ActivePageWindow.ActiveFrameWindow.Window.external
ckIfDirty = myExternalObject.IsDirty
End Sub