Top.Mail.Ru
Мастера DELPHI, Delphi programming community Титульная страница Поиск, карта сайта Написать письмо 
| Новости | Поиск | FAQ | Статьи | Книги | Новости VCL |
| Форумы ЧАТ | Орешник | KOL и MCK |
Форумы -» Основная («Начинающим»)/ Базы / WinAPI / Компоненты / Сети / Media / Игры / Corba и COM / KOL / FreePascal / .Net / Прочее / RSDN.ORG

« предыдущая ветвь | форум | следующая ветвь »

Динамически создать Action в TActionList-e [D7]


Страницы:   1 2

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.


Страницы:   1 2

Наверх

Титульная страница Поиск, карта сайта Написать письмо