TActionList: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | 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. | |
| 2 | 2 | ||
| 3 | 3 | 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. | |
| 4 | 4 | ||
| 5 | 5 | Images | |
| 6 | 6 | a link to a [[TImageList]] that can hold images that correspond to the contained TActions of the TActionList. | |
| 7 | 7 | ||
| 8 | 8 | State | |
| 9 | 9 | asNormal | |
| 10 | 10 | normal handling when TActions are invoked by hotkeys or otherwise. | |
| 11 | 11 | ||
| 12 | 12 | asSuspended | |
| 13 | 13 | no response on invoking, but TAction.Enabled is left unchanged | |
| 14 | 14 | ||
| 15 | 15 | asSuspendedEnabled | |
| 16 | 16 | no response on invoking, but all TAction.Enabled are set *true* | |
| 17 | 17 | ||
| 18 | - | ||
| 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`. | |
| 19 | 19 | ||
| 20 | - | ||
| 21 | - | ||
| 22 | - | ||
| 23 | - | ||
| 20 | + |  | |
| 24 | 21 | ||
| 25 | 22 | ## See also | |
| 26 | 23 | ||
| 27 | 24 | - [[doc:lcl/actnlist/tactionlist.html|TActionList documentation]] | |
| 28 | 25 | - [[TAction]], [[TActionLink]], [[TActionListEnumerator]], [[TContainedAction]], [[TCustomAction]], [[TCustomActionList]], [[TShortCutList]] | |
| 29 | 26 | - [[TStandardAction]] | |
| 30 | 27 | ||
| 31 | 28 | --- | |
| 32 | 29 | *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).* |
