Yes that's the way i do it.. But i use the TDxTimer component (included in DelphiX) that is more precise and performat.Originally Posted by lnpneil
the pros are automatically calculated fps, easy of use (just fill the ontimer event) and auto-calulated lag (if your routine takes more time than the interval between timer events)
The cons.. umm nothing particular..
I've seen other methods too.. for example implementing a procedure that is called when the application is idle.. but i never used it.
Bye!
Bookmarks