Sign in Join
FPDoc Onlineexperiment

TBasicAction.Update function

Member of TBasicActionpublicIn unit Classes

Triggers the OnUpdate event.

Declaration

pascal
function Update: Boolean; virtual

Description

Update triggers the OnUpdate event, if one is assigned. It returns True if the event was triggered, or False if no event was assigned.

Application programmers should never run Update directly. The Update method is called automatically by the action mechanism; Normally this is in the Idle time of an application. An application programmer should assign the OnUpdate event, and perform any checks in that handler.

See also

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