System.Actions.TContainedActionLink
![TContainedActionLink](/images/Libraries/Seattle/e/4/40/System.Actions.TContainedActionLink.png)
Delphi
TContainedActionLink = class(TBasicActionLink)
C++
class PASCALIMPLEMENTATION TContainedActionLink : public System::Classes::TBasicActionLink
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.Actions.pas System.Actions.hpp |
System.Actions | System.Actions |
Description
TContainedActionLink is the base class for action links that connects actions to action clients and sets commonly used properties to client objects.
Most applications do not work directly with TContainedActionLink objects. GUI application frameworks provide subclasses of TContainedActionLink, FMX.ActnList.TActionLink and Vcl.ActnList.TActionLink. Clients of actions also define specialized FireMonkey and VCL classes descending from these two classes. These descendant classes manage relationships between client objects and actions.
TContainedActionLink introduces methods to manage the relationship between properties of the action object and the corresponding properties of the client objects. Descendant classes override these methods, implementing them for the particular properties of clients.
Component writers can use FMX.ActnList.TActionLink and Vcl.ActnList.TActionLink as a base class for new action link classes that manage the relationships between actions and families of client objects that are not controls or menu items.
TContainedActionLink introduces interfaces for methods that set the following properties for clients of action links:
- Caption
- Checked
- Enabled
- HelpType
- HelpContext
- HelpKeyword
- Hint
- GroupIndex
- ImageIndex
- ShortCut
- Visible
- StatusAction