Multimedia Guide and Reference

Timer Properties

The Timer part has the following properties:

length
Use the length property to specify the number of milliseconds before the timer fires.
partName
Use the partName property to name the part. Every part dropped on the free-form surface is assigned a name that is unique from all other parts on the layout surface. For example, a push button is assigned a name such as "Push Button1". To change the name of a part, specify a new name for the partName property. Or, select Change Name from the pop-up menu of the part and enter a new name in the displayed dialog.
repeat
Use the repeat property to specify whether the timer should restart after it fires.
userData
Use the userData property to specify the data passed when the timerFired event occurs. The data can be anything and will retain its value across multiple timerFired events.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]