RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBasicAction.Update Method

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

Pascal
function Update: Boolean; virtual;
C++
virtual __fastcall Boolean Update();

Update triggers the OnUpdate event handler. Update returns true if a handler was found for that event, 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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!