ImageEn, unit iemview

TImageEnMView.TransitionRunning

TImageEnMView.TransitionRunning


Declaration

property TransitionRunning: Boolean;


Description

Returns true when a transition is running.


Example

// Design time properties...
ImageEnMView1.DisplayMode        := mdSingle;
ImageEnMView1.TransitionEffect   := iettCrossDissolve;
ImageEnMView1.TransitionDuration := 1500;

// display next frame using cross dissolve
ImageEnMView1.VisibleFrame := ImageEnMView1.VisibleFrame + 1;

// wait for the transition to end
While ImageEnMView1.TransitionRunning do
  Application.processmessages;
ShowMessage('transition done!');