Unit 'mseact' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#msegui]

actionoptionty

ao_updateonidle calls onupdate once per application idle cycle, i.e. each time the application is about to wait for the next event

Declaration

Source position: mseact.pas line 132

type actionoptionty = (

  ao_updateonidle,

  ao_localshortcut,

  ao_globalshortcut,

  ao_nocandefocus

);

Description

ao_updateonidle calls onupdate once per application idle cycle, i.e. each time the application is about to wait for the next event.

ao_localshortcut restricts the action's shortcut to widgets owned by the same owner as the action: if a form owns the shortcut action, the shortcut only works for widgets created with that form as owner (e.g. tform2.create(self)), not for widgets created with a different owner (e.g. tform2.create(nil)).

ao_globalshortcut makes the shortcut trigger from any window of the application, not only from the window that owns the shortcut event.


Documentation generated on: 2026-10-03