TActionList
Deutsch · English · Français · Русский · 日本語
A TActionList
component is a container for TAction components. When using TActions in the Action-property of buttons, menus, dialogs, controls it is possible to centralize the effects of mouse-clicks, menu-choices, dialog-selections etc. in a single event handler.
To use a TActionList on a TForm, you select it on the Standard tab of the Component Palette and place it by clicking on the form.
Images
a link to a TImageList that can hold images that correspond to the contained TActions of the TActionList.
State
asNormal
normal handling when TActions are invoked by hotkeys or otherwise.
asSuspended
no response on invoking, but TAction.Enabled is left unchanged
asSuspendedEnabled
no response on invoking, but all TAction.Enabled are set true
Double-clicking on the TActionList present the ActionList Editor where you can add new TActions. Right-click in the actionlist-editor present a local menu. TStandardActions are also available with Ctrl+Ins.

See also
- TActionList documentation
- TAction, TActionLink, TActionListEnumerator, TContainedAction, TCustomAction, TCustomActionList, TShortCutList
- TStandardAction
From the Free Pascal wiki, page "TActionList", as it stood on 2024-03-20 after a change by Ariben, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
