Sign in Join
FPDoc Onlineexperiment

TGridScroller.Create constructor

Member of TGridScrollerpublicIn unit Grids

Constructor for the class instance.

Declaration

pascal
constructor Create(DoScroll: TGridScrollerDoScroll)

Arguments

DoScroll

Contains the callback routine signalled when the timer has elapsed in the class instance.

Description

Create sets the internal Callback member to the handler routine in the DoScroll argument. It also creates the internal TTimer instance used in the class; the timer Interval internal is set to 200ms (milliseconds) and the OnTimer routine is set to the private TimerTick method in the class.

See also

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