System.Classes.TBasicAction.Update

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Update: Boolean; virtual;

C++

virtual bool __fastcall Update();

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes TBasicAction

Description

Provides an opportunity to execute centralized code when an application is idle.

Update triggers the OnUpdate event handler. Update returns True if an event handler was found, False otherwise. When the application is idle, the OnUpdate event occurs for every action. This provides an opportunity for applications to execute centralized code for enabling and disabling, checking and unchecking, and so on.

See Also