ImageEn, unit iexBitmaps

TIEMultiBitmap.Modified

TIEMultiBitmap.Modified


Declaration

property Modified: Boolean;


Description

Returns true if the image list has changed since loading. This includes appending, insertion and deletion of frames, and manipulation of images within the frames, e.g. by rotation. It does not include changes to Params.

Notes:
- Modified is reset to false whenever the TIEMultiBitmap is loaded, i.e. using Read or via TImageEnMIO
- Saving a TIEMultiBitmap does not reset Modified


Example

// Check the status of the animated GIF in our TImageEnMView on FormClose
If ImageEnMView1.IEMBitmap.Modified then
  if MessageDlg( 'Save changes to your image?', mtConfirmation, [mbYes,mbNo], 0) = mrYes then
    ImageEnMView1.MIO.SaveToFile( ActiveFilename );


See Also

- OnChanged