Vcl.Forms.TCustomForm.UpdateActions
Delphi
procedure UpdateActions; virtual;
C++
virtual void __fastcall UpdateActions();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Updates all actions associated with the form.
UpdateActions is called automatically when the application is idle to allow all components in the form an opportunity to update any actions for which the component is a target. This allows actions to be checked, grayed, and so on to reflect the current state of their targets.
UpdateActions updates all actions associated with the form, its menus, and the components contained in the form.