![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Динамически создать Action в TActionList-e [D7]
Silver... © (2005-11-10 23:56:00)наверное вопрос банальный :( но не усеку как динамически создать Action-ы в TActionList-e
Eraser (2005-11-11 00:40:00) [21]
> Silver... © (10.11.05 23:56)
Creates and initializes a TAction object.
Delphi syntax:
constructor Create(AOwner: TComponent); override;
Description
Applications do not usually create action objects explicitly. Actions are created automatically when you add them to an action manager or action list component at design time. When instantiating TAction at runtime, assign a TActionList or TActionManager component to the new action’s ActionList property after calling Create.
Дуаю просто создать надо экшн.
А вообще
Note: TActionList is intended primarily for managing the actions in cross-platform applications. While it is always possible to maintain the actions for an application using TActionList, it can be simpler to use an action manager instead.