Sign in Join
FPDoc Onlineexperiment

TFPCustomTimer class

In unit fpTimer

Custom timer class.

Declaration

pascal
TFPCustomTimer = class(TComponent)

Inheritance

  1. TFPCustomTimer
  2. TComponent
  3. TPersistent
  4. TObject

Descends from it: TFPTimer

Description

TFPCustomTimer is the timer class containing the timer's implementation. It relies on an extra driver instance (of type TFPTimerDriver) to do the actual work.

TFPCustomTimer publishes no events or properties, so it is unsuitable for handling in an IDE. The TFPTimer descendent class publishes all needed events of TFPCustomTimer.

See also

Properties

Activeprotected
EnabledprotectedStarts or stops the timer.
IntervalprotectedTimer tick interval in milliseconds.
UseTimerThreadprotectedIndicates if a thread is used to execute the timer event.

Methods

CreateTimerDriverprotected
Timerprotected
CreatepublicCreate a new timer.
DestroypublicRelease a timer instance from memory.
StartTimerpublicStart the timer.
StopTimerpublicStop the timer.

Events

OnTimerprotectedEvent handler signalled when the Interval for the timer has elapsed.
OnStartTimerprotectedEvent handler signalled when the timer is started.
OnStopTimerprotectedEvent handler signalled when the timer is stopped.

Inherited

From TComponent (74)

_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 Loaded 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.