Sign in Join
FPDoc Onlineexperiment

TCustomForm.UpdateActions procedure

Member of TCustomFormprotectedIn unit Forms

Asks all components on the form to update their actions.

Declaration

pascal
procedure UpdateActions; virtual

Description

UpdateActions is a procedure used to update actions assigned to components on the form instance. No actions are performed in the method at design-time, or when the Showing property is set to False in the form instance.

UpdateActions applies updates for an assigned Menu in the form instance. Items on the Menu update their actions when the menu item is visible. Finally, all controls on the form instance are recursively searched; controls which are action clients update their actions when they are visible.

Update actions is called for each of the custom forms when the application enters an idle state, and occurs after processing queued asynchronous calls and the OnIdle event handler in the application.

See also

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