initial commit
[rofl0r-KOL.git] / main_tmmtimer.htm
blobdfd6686c29626a9fdac2d2754bf2a76e9b44c0a6
1 <html>
2 <head>
3 <title>KOL Help: TMMTimer object (main frame)</title>
4 <base target="_top">
5 </head>
7 <body bgcolor="#FFFFEF" text="#000000" link="#008080" vlink="#008000" alink="#808000">
8 <p><font face="Courier" color="#800080"><b>TMMTimer( unit <a href=kol_pas.htm>KOL.pas</a> )
9 <font face="Wingdings">ï</font> <a href=ttimer.htm>TTimer</a>
10 <font face="Wingdings">ï</font> <a href=tobj.htm>TObj</a>
11 <font face="Wingdings">ï</font> <a href=_tobj.htm>_TObj</a>
12 </b></font></p>
13 <p><b>
14 TMMTimer = object( <a href=ttimer.htm target="_top">TTimer</a> )
15 </b></p>
16 Multimedia timer incapsulation object. Does not require <a href=kol_pas.htm#applet target="_top">Applet</a> or special
17 window to handle it. System creates a thread for each high resolution
18 timer, so using many such objects can degrade total PC performance.
19 <h3 align="center"><font color="#FF8080">TMMTimer properties</font></h3>
20 <a name="resolution"></a>
21 <p>
22 <font face="Courier" color="#800080"><b>property</b> <font color="#808000"><b>Resolution</b></font>: <b>Integer</b>;</font>
23 <br>
24 Minimum timer resolution. The less the more accuracy (0 is exactly
25 <a href=#interval target="main">Interval</a> milliseconds between timer shots). It is recommended to set
26 this property greater to prevent entire system from reducing overhead.
27 If you change this value, reset and then set <a href=#enabled target="main">Enabled</a> again to apply
28 changes.
29 </p>
30 <a name="periodic"></a>
31 <p>
32 <font face="Courier" color="#800080"><b>property</b> <font color="#808000"><b>Periodic</b></font>: <b>Boolean</b>;</font>
33 <br>
34 TRUE, if timer is periodic (default). Otherwise, timer is one-shot
35 (set it <a href=#enabled target="main">Enabled</a> every time in such case for each shot). If you change
36 this property, reset and set <a href=#enabled target="main">Enabled</a> property again to get effect.
37 </p>
38 <h4 align="center"><font color="black">Properties, inherited from <a href="ttimer.htm" target="_top">TTimer</a></font></h4>
39 <h3 align="center"><font color="#FF8080">TMMTimer methods</font></h3>
40 <a name="destroy"></a>
41 <p>
42 <font face="Courier" color="#800080"><b>destructor</b> <font color="#808000"><b>Destroy</b></font>; <b>virtual</b>;</font>
43 <br>
44 </p>
45 <h4 align="center"><font color="black">Methods, inherited from <a href="ttimer.htm" target="_top">TTimer</a></font></h4>
46 <h3 align="center"><font color="#FF8080">TMMTimer events</font></h3>
47 <h4 align="center"><font color="black">Events, inherited from <a href="ttimer.htm" target="_top">TTimer</a></font></h4>
48 <h3 align="center"><font color="#FF8080">TMMTimer fields</font></h3>
49 <h4 align="center"><font color="black">Fields, inherited from <a href="ttimer.htm" target="_top">TTimer</a></font></h4>
50 <hr>
51 <p align="center">[&nbsp;<a href=index.htm>Index</a>&nbsp;]</p>
52 <p align="center"><font face="Comic Sans MS"><small>This help is generated 22-Sep-2005 by KOL Help generator, (C) 2000-2001 by Vladimir Kladov<br>Modified (C) 2003 by Alexander Bartov</small></font></p>
53 </body>
54 </html>