RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComponent Methods

The methods of the TComponent class are listed here.

 
Name 
Description 
 
Called when an application uses a component interface. 
 
Called when an application releases a component interface. 
 
Sets the private, internal storage for the Name property to the string passed in NewName. 
 
Designates methods for storing an object's unpublished data on a stream such as a form file. 
 
Returns the owner of a child component being read from a stream. 
 
Returns the parent, or if there is no parent, returns the owner of a child component being read from a stream. 
 
This is GetChildren, a member of class TComponent. 
 
Maps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs). 
 
Returns the owner of a component. 
 
Retrieves the type information for an object. 
 
Returns the number of type information interfaces that an object provides (either 0 or 1). 
 
Provides access to Automation properties and methods when the component wraps an Automation object. 
 
Initializes the component after the form file has been read into memory. 
 
Forwards notification messages to all owned components. 
 
Responds when the component is created from the component palette. 
 
Returns a reference to a specified interface if the object supports that interface. 
 
This is ReadState, a member of class TComponent. 
 
This is SetAncestor, a member of class TComponent. 
 
This is SetChildOrder, a member of class TComponent. 
 
Ensures that components inserted at design time have their design-mode flag set. 
 
Ensures that components inserted at design time have their design-mode flag set. 
 
Sets the csInline bit of the component's ComponentState property 
 
Sets the value of the Name property. 
 
This is SetParentComponent, a member of class TComponent. 
 
Clears the csUpdating state in the component's ComponentState property when the component finishes updating. 
 
Provides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces. 
 
Sets the csUpdating state in the component's ComponentState property. 
 
Determines whether an object can be inserted into a container. 
 
Provides the interface for a method that validates an child component before it is inserted. 
 
Ensures that renaming an owned component does not create name conflict. 
 
This is WriteState, a member of class TComponent. 
 
Name 
Description 
 
Performs any necessary actions before the first destructor is called. 
 
Destroys all owned components. 
 
Indicates that the component and its owned components are about to be destroyed. 
 
This is ExecuteAction, a member of class TComponent. 
 
Indicates whether a given component is owned by the component. 
 
Ensures that AComponent is notified that the component is going to be destroyed. 
 
Frees the interface reference for components that were created from COM classes. 
 
Returns a TComponent enumerator. 
 
Returns a string used by the Object Inspector. 
 
Returns the containing Component. 
 
This is HasParent, a member of class TComponent. 
 
Establishes the component as the owner of a specified component. 
 
Indicates whether the component implements a specified interface. 
 
Establishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed. 
 
Removes a specified component specified from the component's Components list. 
 
Disables destruction notification that was enabled by FreeNotification 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Identifies whether the component is a subcomponent. 
 
This is UpdateAction, a member of class TComponent. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!