ISProfileForm.IgnoreChangesOnClose

Description

This property is True if the changes of the form on close are ignored.

Syntax

object.IgnoreChangesOnClose

Part Attribute Type Description
object Required
The object always implements the ISProfileForm interface

Return Value

bool

Example

Display IgnoreChangesOnClose for the form.

Dim aForm
Dim aMessage

Set aForm = Profile.Form
aMessage = "Form Info: " & vbNewLine & vbNewLine &_
  "- Caption: " & aForm.Caption & vbNewLine &_
  "- Type Name: " & aForm.TypeName & vbNewLine &_
  "- ID: " & aForm.ID & vbNewLine &_
  "- Name: " & aForm.Name_ & vbNewLine &_
  "- Height: " & aForm.Height & vbNewLine &_
  "- Width: " & aForm.Width & vbNewLine &_
  "- Is Modified: " & aForm.IsModified & vbNewLine &_
  "- Ignore Changes On Close: " & aForm.IgnoreChangesOnClose
Profile.MsgBox(aMessage)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Ignore Changes On Close can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the form > Properties > IgnoreChangesOnClose.

Version information

Added in v7.8.0