# _CustomControlTimer interface
{: .no_toc }

The underlying COM interface for [**CustomControlTimer**](/tB/Packages/CustomControls/Framework/CustomControlTimer.md), defining the **Interval** and **Enabled** properties that control the timer's rate and running state.

User code works with [**CustomControlTimer**](/tB/Packages/CustomControls/Framework/CustomControlTimer.md) directly; this interface page documents the property contract that the CoClass exposes.

## Properties

### Interval
{: .no_toc }

The number of milliseconds between successive [**OnTimer**](/tB/Packages/CustomControls/Framework/CustomControlTimer.md#ontimer) events. Read/write **Long**.

Syntax: *object*.**Interval** [ **=** *value* ]

*value*
: A **Long** specifying the number of milliseconds between timer firings. A value of `0` prevents the timer from firing.

Changing **Interval** while the timer is running takes effect on the next tick --- the current tick completes at the old interval before the new one begins.

### Enabled
{: .no_toc }

Whether the timer is currently running. Read/write **Boolean**. Setting to **True** starts it; setting to **False** stops it.

Syntax: *object*.**Enabled** [ **=** *value* ]

## See Also

- [CustomControlTimer](/tB/Packages/CustomControls/Framework/CustomControlTimer.md) class
- [CustomControlContext](/tB/Packages/CustomControls/Framework/CustomControlContext.md) class -- the callback object whose **CreateTimer** returns a **CustomControlTimer**
- [_CustomControlTimerEvents](/tB/Packages/CustomControls/Framework/_CustomControlTimerEvents.md) interface -- the event source interface with the **OnTimer** callback
