ImageEn, unit iexDBBitmaps

TIEDBMultiBitmap.OnLoaded

TIEDBMultiBitmap.OnLoaded


Declaration

property OnLoaded: TNotifyEvent;


Description

Occurs whenever the image is reloaded due to a change in database position (e.g. when AutoLoad is enabled).

Note: OnImageLoaded occurs when frames are added to an existing image. OnLoaded occurs when the entire multi-frame image is loaded.


Example

...
fDBMultiBitmap.OnLoaded := DBMultiBitmapImageLoaded;
...

procedure Tfmain.DBMultiBitmapImageLoaded(Sender: TObject);
begin
  // Shrink to Fit
  ImageEnView1.Fit(False);
end;


See Also

AutoLoad