Vcl.ActnMan.TCustomActionManager Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
_AddRefprotectedCalled when an application uses a component interface.
_ReleaseprotectedCalled when an application releases a component interface.
ActionsCreatedprotectedReturns True if the internal list of actions of the TContainedActionList instance has been created.
AddActionpublicInserts a new action into an existing actionband.
AddCategorypublicAdds all of the actions from a category to an action band.
AddSeparatorpublicAdds a separator to an action band.
AfterConstructionpublicLoads the layout information needed to reconstruct the action bands by the action manager from a file.
AssignpublicProvides a custom Assign procedure for TCustomActionManager objects.
AssignToprotectedCopies the properties of an object to a destination object.
AsyncScheduleprotectedSchedules asynch method calls.
BeforeDestructionpublicPerforms any necessary actions before the first destructor is called.
BeginInvokepublicPerforms an asynchronous call to the method specified by either AProc or AFunc.
CanObserveprotected
Changeprotected
ChangeNameprotectedSets the private, internal storage for the Name property to the string passed in NewName.
CheckActionsCreatedprotectedRaises an EActionError exception if the internal list of actions of the TContainedActionList has not been created.
CheckDisposedprotectedThis method is deprecated.
ClassInfopublicReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNamepublicReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIspublicDetermines whether an object is of a specific type.
ClassParentpublicReturns the type of the immediate ancestor of a class.
ClassTypepublicReturns the class reference for the object's class.
CleanupInstancepublicPerforms finalization on long strings, variants, and interface variables within a class.
CreatepublicInstantiates and initializes a TCustomActionManager object.
CreateActionBarsprotected
DefaultHandlerpublicProvides the interface for a method that processes message records.
DefinePropertiesprotected
DeleteActionItemspublicRemoves items from an ActionBars collection.
DeleteItempublicDeletes an action band item.
DestroypublicDisposes of the instance of an action manager object.
DestroyComponentspublicDestroys all owned components.
DestroyingpublicIndicates that the component and its owned components are about to be destroyed.
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOfpublicDisposeOf forces the execution of the destructor code in an object.
EndFunctionInvokepublicBlocks the caller until the specified ASyncResult completes.
EndInvokepublicBlocks the caller until the specified ASyncResult completes.
EnumByCategorypublicCalls the specified procedure (TEnumActionListEvent or TEnumActionListRef) once for every action of the list in the specified category.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
ExecuteActionpublicGenerates an OnExecute event.
FieldAddresspublicReturns the address of a published object field.
FindActionBarprotected
FindActionClientprotected
FindClientprotected
FindComponentpublicIndicates whether a given component is owned by the component.
FindItemByActionpublicReturns the first item linked to an action.
FindItemByCaptionpublicReturns the first item with a matching caption.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
FreeNotificationpublicEnsures that AComponent is notified that the component is going to be destroyed.
FreeOnReleasepublicFrees the interface reference for components that were created from COM classes.
GetActionBarItemClassprotected
GetActionBarsClassprotected
GetActionClientItemClasspublic
GetActionClientsClassprotected
GetChildOwnerprotectedReturns the owner of a child component being read from a stream.
GetChildParentprotectedReturns the parent or, if there is no parent, returns the owner of a child component being read from a stream.
GetChildrenpublicCalls a specified method for each child action of the action list.
GetCommandPropertiesClasspublic
GetDeltaStreamsprotected
GetDisposedprotectedGetter for the Disposed property.
GetEnumeratorpublicReturns a TContainedActionList enumerator, a TActionListEnumerator reference that enumerates the actions in the list.
GetHashCodepublicReturns an integer containing the hash code.
GetIDsOfNamesprotectedMaps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs).
GetInterfacepublicRetrieves a specified interface.
GetInterfaceEntrypublicReturns the entry for a specific interface implemented in a class.
GetInterfaceTablepublicReturns a pointer to a structure containing all of the interfaces implemented by a given class.
GetNamePathpublicReturns a string used by the Object Inspector.
GetObserversprotectedGetter of Observers.
GetOwnerprotectedReturns the owner of a component.
GetParentComponentpublicReturns the containing component.
GetTypeInfoprotectedRetrieves the type information for an object.
GetTypeInfoCountprotectedReturns the number of type information interfaces that an object provides (either 0 or 1).
GetUsageprotected
HasLinkedActionListsprotected
HasParentpublicVerifies whether the component has a parent.
InheritsFrompublicDetermines the relationship of two object types.
InitInstancepublicInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InsertComponentpublicEstablishes the component as the owner of a specified component.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
InvokeprotectedProvides access to Automation properties and methods when the component wraps an Automation object.
IsImplementorOfpublicIndicates whether the component implements a specified interface.
IsShortCutpublicEvaluates an input key combination to determine whether it is a shortcut for one of the actions in the list.
Loadedprotected
LoadFromFilepublicLoads the layout information needed to reconstruct the action bands by the action manager from a file.
LoadFromStreampublicLoads the layout information needed to reconstruct the action bands by the action manager from a stream.
LoadMenuprotected
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
Notificationprotected
ObserverAddedprotected
operator []publicReturns an action that has the specified index in the list.
operator ()publicC++ conversion of a TComponent into a System.Classes.IInterfaceComponentReference or a System.IInterface, depending on casting.
QualifiedClassNamepublicReturns the qualified name of the class.
QueryInterfaceprotectedReturns a reference to a specified interface if the current component supports that interface.
ReadStateprotectedReads the state of the component.
ReferenceInterfacepublicEstablishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed.
RemoveActionprotectedRemoves an action from the list.
RemoveComponentpublicRemoves a specified component specified from the component's Components list.
RemoveFreeNotificationpublicDisables the destruction notification that was enabled by FreeNotification.
RemoveFreeNotificationsprotectedNotifies all owned components of the owner component's imminent destruction.
ResetActionBarpublicResets the action bands to their default state.
ResetUsageDatapublicResets the usage data of the action bands.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SameCategoryprotectedReturns True if the Source and Dest categories are the same. If IncludeSubCategory is True, this function also returns true if Dest is a subcategory of Source.
SaveToFilepublicSaves layout information needed to reconstruct the action bands by the action manager to a file.
SaveToStreampublicSaves layout information needed to reconstruct the action bands by the action manager to a stream.
SetAncestorprotectedClears or sets csAncestor state in the component's ComponentState property.
SetChildOrderprotectedSets the order in which actions are passed to a callback by the GetChildren method.
SetDesigningprotectedEnsures that components inserted at design time have their design-mode flag set.
SetDesignInstanceprotectedEnsures that components inserted at design time have their design-mode flag set.
SetImagesprotected
SetInlineprotectedSets the csInline bit of the component's ComponentState property.
SetNameprotectedSets the value of the Name property.
SetParentComponentprotectedSets the parent component.
SetStateprotected
SetSubComponentpublicIdentifies whether the component is a subcomponent.
SetupActionBarsprotected
ToStringpublicReturns a string containing the class name.
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
UpdateActionpublicGenerates an OnUpdate event.
UpdatedprotectedClears the csUpdating state in the component's ComponentState property when the component finishes updating.
UpdateRegistryprotectedProvides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces.
UpdatingprotectedSets the csUpdating state in the component's ComponentState property.
ValidateContainerprotectedDetermines whether an object can be inserted into a container.
ValidateInsertprotectedProvides the interface for a method that validates a child component before it is inserted.
ValidateRenameprotectedEnsures that renaming an owned component does not create a name conflict.
WriteStateprotectedWrites the state of the component.