Sign in Join
Wiki copytemporary

TActionList: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11A **TActionList** ![](/wiki-images/1/1e/Tactionlist.png) 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.
22
33To 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.
44
55Images
66a link to a [[TImageList]] that can hold images that correspond to the contained TActions of the TActionList.
77
88State
99asNormal
1010normal handling when TActions are invoked by hotkeys or otherwise.
1111
1212asSuspended
1313no response on invoking, but TAction.Enabled is left unchanged
1414
1515asSuspendedEnabled
1616no response on invoking, but all TAction.Enabled are set *true*
1717
18-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. [[TStandardAction|TStandardActions]] are also available with <span class="kbd">Ctrl+Ins</span>.
18+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. [[TStandardAction|TStandardActions]] are also available with `Ctrl+Ins`.
1919
20-<figure>
21-<img src="actionlist-editor.png" title="actionlist-editor.png" />
22-<figcaption>actionlist-editor.png</figcaption>
23-</figure>
20+![](/wiki-images/d/de/Actionlist-editor.png)
2421
2522## See also
2623
2724- [[doc:lcl/actnlist/tactionlist.html|TActionList documentation]]
2825- [[TAction]], [[TActionLink]], [[TActionListEnumerator]], [[TContainedAction]], [[TCustomAction]], [[TCustomActionList]], [[TShortCutList]]
2926- [[TStandardAction]]
3027
3128---
3229*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](/wiki-contact).*

Back to history