In DelphiX, there is a framerate runtime value and a DXTimer.

Most games will use the timer with the tick interval set at zero, making it run as fast as the PC will allow.

To bring the program down to a wanted framerate, in the timer tick routine, get the framerate and change the timer tick interval accordingly.