Share via


FormControl.SyncLastChange Method

Synchronizes the underlying data of the form with changes in the view.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath.FormControl (in Microsoft.Office.InfoPath.FormControl.dll)

Syntax

'Declaration
Public Overridable Sub SyncLastChange
'Usage
Dim instance As FormControl

instance.SyncLastChange()
public virtual void SyncLastChange()

Remarks

Use this method when a user clicks outside the FormControl object to the host application after making a change to a field without tabbing or otherwise committing that change to the underlying XML document of the form.

For more information about the FormControl object, see Hosting the InfoPath Form Editing Environment in a Custom Windows Form Application.

See Also

Reference

FormControl Class

FormControl Members

Microsoft.Office.InfoPath Namespace