T O P I C R E V I E W |
bmesser |
Posted - Nov 18 2012 : 08:55:11 Hi
I am using a TImageEnView component for animating a series of images by hiding and revealing layers. It works very well. At the moment I have a statusbar panel with FPS (frames per second) rate which I calculate from the interval of TTimer that I use to change a frame. What I would like to do is display a more accurate rate but to do that I need to when a layer has just been swapped. I've looked down all the events that the component fires but I can't find one to save a TDateTime value and thereby calculate a better FPS rate. Can anyone suggest a solution?
A supplementary question that I would like to ask is this:
In the help for TImageEnView component I notice that the component has a OnDrawLayer event which isn't displayed in Delphi 2007. I have checked that I have 4.1 of the component suite installed but the other odd thing is that the ImageEnVersion in the properties of the TImageEnView is 3.0.0?
That leads me to think that for some reason I may not be using the version that the help refers to.
Bruce.
|
2 L A T E S T R E P L I E S (Newest First) |
fab |
Posted - Nov 23 2012 : 10:46:26 quote: ImageEnVersion in the properties of the TImageEnView is 3.0.0?
Please replace (or remove) design time packages (dpkiectrl.bpl and dpkiedb.bpl). |
bmesser |
Posted - Nov 19 2012 : 03:26:08 Hi
Just to let you know I used the OnPaint event to capture a time that I could use to monitor a better FPS in an animation!
I could have probably used the OnDrawLayer event now that I have the correct version of the component installed! I did have multiple versions that I had accumulated and of course I was still pointing at the oldest version.
Bruce. |