FormModified property (WinStudio scripts)
Applies To
IWSForm interface
Definition
Returns a Boolean value indicating whether a form has been modified since it was last saved.
Syntax
object.FormModified
Part | Description |
object | Required. A reference to a valid form object. |
Remarks
A return value of:
- TRUE indicates that the form has been modified.
- FALSE indicates that the form has not been modified.
Example
Sub Main() Application.ShowMessage("Doc BG Color = " & ThisForm.BackgroundColor & vbLf & _ "Doc FG color = " & ThisForm.ForegroundColor & vbLf & _ "Form Modified = " & ThisForm.FormModified.ToString()) End Sub