Vcl.Controls.TControl Methods
InheritedProtected
| _AddRef | protected | Called when an application uses a component interface. |
| _Release | protected | Called when an application releases a component interface. |
| ActionChange | protected | Responds when the action associated with the control changes. |
| AdjustSize | protected | Sets the size of the control as determined by the AutoSize property. |
| AfterConstruction | public | Responds after the last constructor has executed. |
| Assign | public | Copies the contents of another similar object. |
| AssignTo | protected | Overrides the inherited AssignTo function to enable assignments to TAction objects. |
| AsyncSchedule | protected | |
| BeforeDestruction | public | Performs any necessary actions before the first destructor is called. |
| BeginAutoDrag | protected | Begins automatic drag. |
| BeginDrag | public | Starts the dragging of a control. |
| BeginInvoke | public | Performs an asynchronous call to the method specified by either AProc or AFunc. |
| BringToFront | public | Puts the control in front of all other controls in its parent control. |
| CalcCursorPos | protected | Gives the coordinates of the cursor, with respect to the origin of the control. |
| CanAutoSize | protected | Indicates whether the control can resize itself automatically to accommodate its contents. |
| CanObserve | protected | |
| CanResize | protected | OnCanResize event dispatcher. |
| Changed | protected | Sends a CM_CHANGED message to the control. |
| ChangeName | protected | Sets the private, internal storage for the Name property to the string passed in NewName. |
| ChangeScale | protected | Rescaling event dispatcher. |
| CheckDisposed | protected | |
| ClassInfo | public | Returns a pointer to the run-time type information (RTTI) table for the object type. |
| ClassName | public | Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). |
| ClassNameIs | public | Determines whether an object is of a specific type. |
| ClassParent | public | Returns the type of the immediate ancestor of a class. |
| ClassType | public | Returns the class reference for the object's class. |
| CleanupInstance | public | Performs finalization on long strings, variants, and interface variables within a class. |
| Click | protected | Respond to user click. |
| ClientToParent | public | Translates client coordinates to parent coordinates. |
| ClientToScreen | public | Translates a given point from client area coordinates to global screen coordinates. |
| ConstrainedResize | protected | Notify control of resize with constraints. |
| Create | public | Creates an instance of TControl. |
| CreateTouchManager | protected | Instantiates a touch manager. |
| DblClick | protected | OnDblClick event dispatcher. |
| DefaultDockImage | protected | Handles the painting and erasing of a dock image. |
| DefaultHandler | public | Provides message handling for all messages that do not have specific handlers. |
| DefaultScalingFlags | protected | |
| DefineProperties | protected | Provides methods to read and write the IsControl property to a stream such as a form file. |
| DesignWndProc | protected | Processes the given message and returns some Boolean information based on the message's content. |
| Destroy | public | Destroys an instance of TControl. |
| DestroyComponents | public | Destroys all owned components. |
| Destroying | public | Indicates that the component and its owned components are about to be destroyed. |
| Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
| DisposeOf | public | DisposeOf forces the execution of the destructor code in an object. |
| Dock | public | Used internally to dock the control. |
| DockTrackNoTarget | protected | Handles dragging of the control over an invalid docking target. |
| DoContextPopup | protected | Is an OnContextPopup event dispatcher. |
| DoDock | protected | Docking event dispatcher. |
| DoEndDock | protected | Is an OnEndDock event dispatcher. |
| DoEndDrag | protected | Is an OnEndDrag event dispatcher. |
| DoGesture | protected | Processes the unhandled gesturing events. |
| DoGetGestureOptions | protected | Returns the interactive gestures and their options. |
| DoMouseWheel | protected | Processes mouse wheel motion. |
| DoMouseWheelDown | protected | Is an OnMouseWheelDown event dispatcher. |
| DoMouseWheelUp | protected | Is an OnMouseWheelUp event dispatcher. |
| DoStartDock | protected | Is an OnStartDockevent dispatcher. |
| DoStartDrag | protected | Is an OnStartDrag event dispatcher. |
| DragCanceled | protected | Provides the interface for a method that responds to the cancellation of a drag. |
| DragDrop | public | Is an OnDragDrop event dispatcher. |
| Dragging | public | Indicates whether a control is being dragged. |
| DragOver | protected | Is an OnDragOver event dispatcher. |
| DrawDragDockImage | protected | Draws the dock image for the control. |
| DrawTextBiDiModeFlags | public | Returns the text flags that reflect the current setting of the BiDiMode property. |
| DrawTextBiDiModeFlagsReadingOnly | public | Returns the text flag to add that indicates whether the control's text should read from right to left. |
| EndDrag | public | Stops a control from being dragged any further. |
| EndFunctionInvoke | public | Blocks the caller until the specified ASyncResult completes. |
| EndInvoke | public | Blocks the caller until the specified ASyncResult completes. |
| Equals | public | Checks whether the current instance and the Obj parameter are equal. |
| EraseDragDockImage | protected | Erases the dock image for the control. |
| ExecuteAction | public | Executes an action. |
| FieldAddress | public | Returns the address of a published object field. |
| FindComponent | public | Indicates whether a given component is owned by the component. |
| Free | public | Destroys an object and frees its associated memory, if necessary. |
| FreeInstance | public | Deallocates memory allocated by a previous call to the NewInstance method. |
| FreeNotification | public | Ensures that AComponent is notified that the component is going to be destroyed. |
| FreeOnRelease | public | Frees the interface reference for components that were created from COM classes. |
| GetAction | protected | Returns the value of the Action property. |
| GetActionLinkClass | protected | Returns the appropriate action link class that is associated with the control class. |
| GetAllocatedWindowHandle | protected | |
| GetChildOwner | protected | Returns the owner of a child component being read from a stream. |
| GetChildParent | protected | Returns the parent or, if there is no parent, returns the owner of a child component being read from a stream. |
| GetChildren | protected | Enumerates all child components. |
| GetClientOrigin | protected | Returns the screen coordinates of the upper-left corner of the control's client area. |
| GetClientRect | protected | Returns a rectangle defining the client area of the control. |
| GetControlsAlignment | public | Indicates how text is aligned within the control. |
| GetCurrentPPI | protected | |
| GetDeltaStreams | protected | |
| GetDesignDpi | protected | Obtains the design Dpi for the form where the control was designed. |
| GetDeviceContext | protected | Returns a device context for the control. |
| GetDisposed | protected | Getter for the Disposed property. |
| GetDockEdge | protected | Returns the edge on which another control should be docked when it is dragged over the control. |
| GetDragImages | protected | Returns the control's image list containing the image to be displayed while dragging. |
| GetDragMode | protected | Returns the value of the DragMode property. |
| GetEnabled | protected | Returns the value of the Enabled property. |
| GetEnumerator | public | Returns a TComponent enumerator. |
| GetFloating | protected | Returns the value of the Floating property. |
| GetFloatingDockSiteClass | protected | Returns the class used for the control when it is floating. |
| GetHashCode | public | Returns an integer containing the hash code. |
| GetIDsOfNames | protected | Maps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs). |
| GetInterface | public | Retrieves a specified interface. |
| GetInterfaceEntry | public | Returns the entry for a specific interface implemented in a class. |
| GetInterfaceTable | public | Returns a pointer to a structure containing all of the interfaces implemented by a given class. |
| GetNamePath | public | Returns a string used by the Object Inspector. |
| GetObservers | protected | Getter of Observers. |
| GetOwner | protected | Returns the owner of a component. |
| GetPalette | protected | Returns the handle to a palette for use by the control. |
| GetParentComponent | public | Returns the parent of the control. |
| GetParentCurrentDpi | protected | Obtains the current Dpi for parent control, or the current control Dpi if there is no parent. |
| GetPopupMenu | protected | Returns the pop-up menu associated with the control. |
| GetStyleName | public | |
| GetSystemMetrics | public | |
| GetTextBuf | public | Retrieves the control's text, copies it into a buffer, and returns the number of characters copied. |
| GetTextLen | public | Returns the length of the control's text. |
| GetTypeInfo | protected | Retrieves the type information for an object. |
| GetTypeInfoCount | protected | Returns the number of type information interfaces that an object provides (either 0 or 1). |
| HasParent | public | Indicates whether the control has a parent. |
| Hide | public | Makes the control invisible. |
| InheritsFrom | public | Determines the relationship of two object types. |
| InitiateAction | public | Calls the action link's Update method if the control is associated with an action link. |
| InitInstance | public | Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. |
| InsertComponent | public | Establishes the component as the owner of a specified component. |
| InstanceSize | public | Returns the size in bytes of each instance of the object type. |
| Invalidate | public | Completely repaints the control. |
| Invoke | protected | Provides access to Automation properties and methods when the component wraps an Automation object. |
| IsCustomStyleActive | public | |
| IsImplementorOf | public | Indicates whether the component implements a specified interface. |
| IsLightStyleColor | public | |
| IsRightToLeft | public | Indicates whether the control should be reversed right to left. |
| IsTouchPropertyStored | protected | Checks whether the associated touch manager stored any of the given options. |
| Loaded | protected | Initializes the control after it is loaded from a stream. |
| ManualDock | public | Docks the control. |
| ManualFloat | public | Undocks the control. |
| MethodAddress | public | Returns the address of a class method by name. |
| MethodName | public | Returns the name of a class method by address. |
| MouseActivate | protected | Triggers a TMouseActivateEvent event. |
| MouseDown | protected | OnMouseDown event dispatcher. |
| MouseMove | protected | Responds to mouse moving over control area. |
| MouseUp | protected | Is an OnMouseUp event dispatcher. |
| MouseWheelHandler | public | Dispatches messages received from a mouse wheel. |
| NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
| Notification | protected | Responds to notifications indicating that components are being created or destroyed. |
| ObserverAdded | protected | |
| operator () | public | C++ conversion of a TComponent into a System.Classes.IInterfaceComponentReference or a System.IInterface, depending on casting. |
| PaletteChanged | protected | Responds to changes in the system's palette by realizing the control's palette. |
| PaletteCreated | protected | Responds when the component is created from the component palette. |
| ParentToClient | public | Translate parent coordinates to client coordinates. |
| Perform | public | Responds as if the control received a specified Windows message. |
| PositionDockRect | protected | Positions the docking rectangle according to the current drag-and-dock state. |
| QualifiedClassName | public | Returns the qualified name of the class. |
| QueryInterface | protected | Returns a reference to a specified interface if the current component supports that interface. |
| ReadState | protected | Prepares the control for having its properties assigned values read from a stream. |
| ReferenceInterface | public | Establishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed. |
| Refresh | public | Repaints the control on the screen. |
| RemoveComponent | public | Removes a specified component specified from the component's Components list. |
| RemoveFreeNotification | public | Disables the destruction notification that was enabled by FreeNotification. |
| RemoveFreeNotifications | protected | Notifies all owned components of the owner component's imminent destruction. |
| Repaint | public | Forces the control to repaint its image on the screen. |
| ReplaceDockedControl | public | Docks the control in the place where another control is already docked. |
| RequestAlign | protected | Instructs the parent of a control to reposition the control, enforcing its Align property. |
| Resize | protected | Respond to control resize. |
| SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
| ScaleConstraints | protected | Scales the values of the Constraints property to the given ratio. |
| ScaleForPPI | public | Adjusts the scaling of the current control for the specified Pixels Per Inch (PPI). |
| ScaleMargins | protected | Scales the values of the Margins property to the given ratio. |
| ScaleRectSize | public | |
| ScaleValue | public | |
| ScreenToClient | public | Converts the screen coordinates of a specified point on the screen to client coordinates. |
| SendCancelMode | protected | Cancels the modal state of the control. |
| SendDockNotification | protected | Sends a Windows message to the control's host dock site. |
| SendToBack | public | Puts a windowed control behind all other windowed controls, or puts a non-windowed control behind all other non-windowed controls. |
| SetAncestor | protected | Clears or sets csAncestor state in the component's ComponentState property. |
| SetAutoSize | protected | Sets the value of the AutoSize property. |
| SetBiDiMode | protected | Sets the control's bidirectional mode. |
| SetBounds | public | Sets the Left, Top, Width, and Height properties all at once. |
| SetChildOrder | protected | Sets the visual ordering of a child control. |
| SetCustomHint | protected | Sets the value of the CustomHint property. |
| SetDesigning | protected | Ensures that components inserted at design time have their design-mode flag set. |
| SetDesignInstance | protected | Ensures that components inserted at design time have their design-mode flag set. |
| SetDesignVisible | public | Makes a control visible at design time. |
| SetDragMode | protected | Sets the drag mode for the control. |
| SetEnabled | protected | Sets the value of the Enabled property. |
| SetInline | protected | Sets the csInline bit of the component's ComponentState property. |
| SetName | protected | Sets the name of the control. |
| SetParent | protected | Sets the parent of the control. |
| SetParentBiDiMode | protected | Specifies whether the control uses its parent's BiDiMode. |
| SetParentComponent | public | Sets the parent for the control. |
| SetStyleElements | protected | |
| SetStyleName | protected | |
| SetSubComponent | public | Identifies whether the component is a subcomponent. |
| SetTextBuf | public | Sets the text of the control. |
| SetZOrder | protected | Repositions the control in its parent's control list, thereby changing position onscreen. |
| Show | public | Makes a control visible. |
| ToString | public | Returns a string containing the class name. |
| UnitName | public | Returns the name of the unit where the class is defined. |
| UnitScope | public | Returns the class's unit scope. |
| Update | public | Processes any pending paint messages immediately. |
| UpdateAction | public | Updates the state of an action. |
| UpdateBoundsRect | protected | Changes the Top, Left, Width, and Height properties of the control, but does not update its screen image and bypasses all resize events. |
| Updated | protected | Clears the csUpdating state in the component's ComponentState property when the component finishes updating. |
| UpdateExplicitBounds | protected | Attempts to update the values of the control's explicit bounds to those of its current bounds. |
| UpdateRegistry | protected | Provides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces. |
| UpdateStyleElements | protected | Called when the StyleElements property changes. |
| Updating | protected | Sets the csUpdating state in the component's ComponentState property. |
| UseRightToLeftAlignment | public | Specifies whether the control's alignment should be reversed right-to-left. |
| UseRightToLeftReading | public | Specifies whether the control is using a right-to-left reading order. |
| UseRightToLeftScrollBar | public | Specifies whether the vertical scroll bar appears on the left side of the control. |
| ValidateContainer | protected | Determines whether an object can be inserted into a container. |
| ValidateInsert | protected | Provides the interface for a method that validates a child component before it is inserted. |
| ValidateRename | protected | Ensures that renaming an owned component does not create a name conflict. |
| VisibleChanging | protected | Provides the interface for a method that responds to changes in the control's visibility. |
| WndProc | protected | Provides specific message responses for the control. |
| WriteState | protected | Writes the state of the component. |