Vcl.Menus.TMenuActionLink
Delphi
TMenuActionLink = class(TActionLink)
C++
class PASCALIMPLEMENTATION TMenuActionLink : public Vcl::Actnlist::TActionLink
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | Vcl.Menus |
Description
Links a client (menu item) to the corresponding action.
TMenuActionLink is designed to link actions to menu items (clients).
TMenuActionLink keeps the linked client in the FClient field and the linked action in the Action property.
TMenuActionLink defines methods supporting the linking of the action's properties and events with appropriate properties and events of the menu item (client). The TMenuActionLink methods determine whether the action controls values of properties of the client's menu item, and sets values to such properties of the menu item. Most properties and events of the action and client have the same names: Caption, Enabled, Hint, Visible.