Sign in Join
FPDoc Onlineexperiment

TTimer class

In unit ExtCtrls

TTimer is an elapsed timer useful in many applications.

Declaration

pascal
TTimer = class(TCustomTimer)

Inheritance

  1. TTimer
  2. TCustomTimer
  3. TComponent
  4. TPersistent
  5. TObject

Description

TTimer is a TCustomTimer descendant which implements an elapsed timer useful in many applications. It inherits most of its properties from TCustomTimer.

Properties

EnabledpublishedIndicates if the timer is ready to start.
IntervalpublishedThe Interval (in milliseconds) for timer notifications.

Events

OnTimerpublishedEvent handler signalled when the Interval for the timer has elapsed.
OnStartTimerpublishedEvent handler signalled when the timer is started.
OnStopTimerpublishedOnStopTimer - event handler for stopping the timer.

Inherited

From TCustomTimer (9)

Create Destroy DoOnTimer KillTimer Loaded SetEnabled SetInterval SetOnTimer UpdateTimer

From TComponent (73)

_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loading Name Notification ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReadState ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState

From TPersistent (5)

Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (37)

AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.