[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TBasicAction.Update

Triggers the OnUpdateevent

Declaration

Source position: classesh.inc line 1422

public function TBasicAction.Update: Boolean; virtual;

Description

Updatetriggers the OnUpdateevent, if one is assigned. It returns Trueif the event was triggered, or Falseif no event was assigned.

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

See also

OnUpdate

  

Event trigged when the application is idle.

Execute

  

Triggers the OnExecuteevent

UpdateTarget

  

Notify client controls when the action updates itself.