TContainedAction class
Implements an Action class which has a category and parent action list.
Declaration
TContainedAction = class(TBasicAction)Inheritance
- TContainedAction
- TBasicAction
- TComponent
- TPersistent
- TObject
Descends from it: TCustomAction
Description
TContainedAction is a
TBasicAction descendant which
allows an action to be given a category, and grouped with related actions. It
provides additional properties and methods used to assign an action to the
category and an associated list of actions. These values are used at
design-time in the Action List editor.
TContainedAction is the ancestor for the TCustomAction class.
See also
Properties
ActionList | public | The ActionList where the action is stored, and its parent component. |
Index | public | Ordinal position for the action in ActionList. |
Category | published | The Category of this action. |
Methods
ReadState | protected | Reads properties and child components for the class instance. |
SetParentComponent | protected | Sets the parent component for the class instance. |
Destroy | public | Destructor for the class instance. |
Execute | public | Executes the action using a available OnExecute event handler. |
GetParentComponent | public | Gets the parent component for the class instance. |
HasParent | public | Indicates if a value has been assigned to the property with the parent component for the class instance. |
Update | public | Signals an available OnUpdate event handler to update values in the Action. |
Inherited
From TBasicAction (17)
ActionComponent Change ClientCount Clients Create ExecuteTarget GetClient HandlesTarget Notification OnChange OnExecute OnUpdate RegisterChanges SetOnExecute Suspended UnRegisterChanges UpdateTarget
From TComponent (69)
_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetTypeInfo GetTypeInfoCount iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState
From TPersistent (5)
Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (37)
AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
