Sign in Join
FPDoc Onlineexperiment

TContainedAction class

In unit ActnList

Implements an Action class which has a category and parent action list.

Declaration

pascal
TContainedAction = class(TBasicAction)

Inheritance

  1. TContainedAction
  2. TBasicAction
  3. TComponent
  4. TPersistent
  5. 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

ActionListpublicThe ActionList where the action is stored, and its parent component.
IndexpublicOrdinal position for the action in ActionList.
CategorypublishedThe Category of this action.

Methods

ReadStateprotectedReads properties and child components for the class instance.
SetParentComponentprotectedSets the parent component for the class instance.
DestroypublicDestructor for the class instance.
ExecutepublicExecutes the action using a available OnExecute event handler.
GetParentComponentpublicGets the parent component for the class instance.
HasParentpublicIndicates if a value has been assigned to the property with the parent component for the class instance.
UpdatepublicSignals 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.