JCL Help:TJclMultimediaTimer.Period

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Period used during timing.


Pascal

 public property Period: Cardinal;


Description

The Period property sets the period (resolution) used during timing operations. The constructor initializes this to the highest possible resolution but you can change it, if desired and allowed, later. You cannot change the resolution when the timer is active (after a call to BeginTimer but before EndTimer). The BeginTimer method automatically sets the resolution to the Period value and it is restored when you call EndTimer. You can use the BeginPeriod and EndPeriod class functions to set alternative resolutions used by the GetTime class function but you should not do this when the timer is active since it will mess up the values returned by the Elapsed function.


About

Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page