ImageEn, unit iexUserInteractions

TIEPdfViewer.FormModified

TIEPdfViewer.FormModified


Declaration

property FormModified: Boolean;


Description

Returns true if the user has modified the content of form fields since the document was loaded or saved.



Note:
Enable AllowFormEditing to allow the user to edit forms
General changes to document will affect DocModified

Default: False


Demos


Demos

Demo  Demos\PDF\PDFFormFields\PdfViewerFF.dpr
Demo  Demos\PDF\PDFViewer\PdfViewer.dpr
Demo  Demos\Actions\Actions_PdfViewer\PdfViewerActions.dpr


Example

if ImageEnView1.PdfViewer.FormModified then
  if MessageDlg( 'Save form changes?', mtConfirmation, [ mbYes,mbNo ], 0 ) = mrYes then
    ImageEnView1.IO.SaveToFilePDF( ImageEnView1.IO.Params.Filename );


See Also

PageModified
DocModified
AllowFormEditing
FormFieldFocused
ContainsForm
FormFields