RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinControl Members

The following tables list the members exposed by TWinControl.

 
Name 
Description 
 
Occurs when an object with custom alignment is aligned. 
 
Occurs when an object with custom alignment is aligned. 
 
Occurs when an attempt is made to resize the control. 
 
Occurs when the user clicks the control. 
 
Adjust resize constraints. 
 
Occurs when the user right-clicks the control or otherwise invokes the popup menu (such as using the keyboard). 
 
Occurs when the user double-clicks the left mouse button when the mouse pointer is over the control. 
 
Occurs when another control is docked to the control. 
 
Occurs when another control is dragged over the control. 
 
Occurs when the user drops an object being dragged. 
 
Occurs when the user drags an object over a control. 
 
Occurs when the dragging of an object ends, either by docking the object or by canceling the dragging. 
 
Occurs when the dragging of an object ends, either by dropping the object or by canceling the dragging. 
 
Occurs when a control receives the input focus. 
 
Occurs when the input focus shifts away from one control to another. 
 
Returns the control's docking information. 
 
Occurs when a user presses any key while the control has focus. 
 
Occurs when a key is pressed. 
 
Occurs when the user releases a key that has been pressed. 
 
Occurs when the user presses a mouse button with the mouse pointer over a control and the parent form is not active. 
 
Occurs when the user presses a mouse button with the mouse pointer over a control. 
 
Occurs when the user moves the mouse into a control. 
 
Occurs when the user moves the mouse outside of a control. 
 
Occurs when the user moves the mouse pointer while the mouse pointer is over a control. 
 
Occurs when the user releases a mouse button that was pressed with the mouse pointer over a component. 
 
Occurs when the mouse wheel is rotated. 
 
Occurs when the mouse wheel is rotated downward. 
 
Occurs when the mouse wheel is rotated upward. 
 
Occurs immediately after the control is resized. 
 
Occurs when the user begins to drag a control with a DragKind of dkDock. 
 
Occurs when the user begins to drag the control or an object it contains by left-clicking on the control and holding the mouse button down. 
 
Occurs when the application tries to undock a control that is docked to the windowed control. 
 
Name 
Description 
 
This is FAnchorMove, a member of class TControl. 
 
This is FAnchorOrigin, a member of class TControl. 
 
This is FAnchorRules, a member of class TControl. 
 
This is FComponentStyle, a member of class TComponent. 
 
This is FDesignSize, a member of class TWinControl. 
 
This is FDoubleBuffered, a member of class TWinControl. 
 
This is FExplicitHeight, a member of class TControl. 
 
This is FExplicitLeft, a member of class TControl. 
 
This is FExplicitTop, a member of class TControl. 
 
This is FExplicitWidth, a member of class TControl. 
 
This is FInImeComposition, a member of class TWinControl. 
 
This is FOriginalParentSize, a member of class TControl. 
 
Name 
Description 
 
Called when an application uses a component interface. 
 
Called when an application releases a component interface. 
 
Updates the control to reflect changes in its associated action. 
 
Sets control's window style according to its bi-directional support. 
 
Provides the interface that adjusts the ClientRect property for idiosyncrasies of the window. 
 
Adjusts the control's size according to its contents and constraints. 
 
Aligns any controls for which the control is the parent within a specified area of the control. 
 
This is ArrangeControl, a member of class TWinControl. 
 
Copies the properties of the windowed control to another object. 
 
Begin Automatic Drag. 
 
This is CalcCursorPos, a member of class TControl. 
 
Indicates how the control can be resized. 
 
Indicates how the control can respond to a resize attempt. 
 
Sends a CM_CHANGED message to the control. 
 
Sets the private, internal storage for the Name property to the string passed in NewName. 
 
Resize and reposition children and self. 
 
Respond to user click. 
 
Generates an OnConstrainedResize event. 
 
This is ControlsAligned, a member of class TWinControl. 
 
Creates the dock manager for the control. 
 
Creates underlying screen object. 
 
Initializes a window-creation parameter data structure. 
 
Creates a windowed control derived from an existing Windows window class. 
 
Creates a Windows control to represent the control. 
 
Creates the underlying window. 
 
Returns placement order of custom-aligned child control. 
 
Returns aligned position of custom-aligned child control. 
 
OnDblClick event dispatcher. 
 
Handles the painting and erasing of a dock image. 
 
Provides methods to read and write the IsControl property to a stream such as a form file. 
 
This is DesignWndProc, a member of class TControl. 
 
Destroys the control's window without destroying the control. 
 
Destroys the window created in the CreateWindowHandle method. 
 
Destroys the control's window. 
 
Performs actions when a control is docked to the windowed control. 
 
Responds when a docking client is dragged over the windowed control. 
 
This is DockReplaceDockClient, a member of class TWinControl. 
 
Handles dragging of the control over an invalid docking target. 
 
OnContextPopup event dispatcher. 
 
Docking event dispatcher. 
 
Generates an OnDockOver event. 
 
OnEndDock event dispatcher. 
 
OnEndDrag event dispatcher. 
 
Respond to receiving input focus. 
 
Respond to losing input focus 
 
Flips the control's children. 
 
Performs some preprocessing before generating an OnKeyDown event. 
 
Performs some preprocessing before generating an OnKeyPress event. 
 
Performs some preprocessing before generating an OnKeyUp event. 
 
Processes mouse wheel motion. 
 
OnMouseWheelDown event dispatcher. 
 
OnMouseWheelUp event dispatcher. 
 
Responds when a control is undocked from the windowed control. 
 
OnStartDock event dispatcher. 
 
OnStartDrag event dispatcher. 
 
Undocks a control that is currently docked to the windowed control. 
 
Provides the interface for a method that responds to the cancellation of a drag. 
 
OnDragOver event dispatcher. 
 
Draws the dock image for the control. 
 
Erases the dock image for the control. 
 
Returns the control's next child in the tab order after the specified control. 
 
Sorts the child controls by their tab order. 
 
This is GetAction, a member of class TControl. 
 
Returns the associated action link class. 
 
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. 
 
Calls a specified method for each child of the control. 
 
Returns the value of the ClientOrigin property. 
 
Returns the value of the ClientRect property. 
 
Returns the smallest rectangle in which all the control's children fit. 
 
Provides access to a device context for the control. 
 
Returns the edge on which another control should be docked when it is dragged over the control. 
 
Returns the control's image list containing the image to be displayed while dragging. 
 
Returns the value of the Enabled property. 
 
Returns the value of the Floating property. 
 
Returns the class used for the control when it is floating. 
 
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. 
 
Returns the owner of an object. 
 
Returns the handle to a palette for use by the control. 
 
Returns the window handle for the window of the control's parent. 
 
Returns the pop-up menu associated with the control. 
 
Generates an OnGetSiteInfo event 
 
Returns the window handle of the first window not associated with a VCL control that contains the windowed control. 
 
Retrieves the type information for an object. 
 
Returns the number of type information interfaces that an object provides (either 0 or 1). 
 
This is InvalidateDockHostSite, a member of class TWinControl. 
 
Provides access to Automation properties and methods when the component wraps an Automation object. 
 
This is IsControlActivateMsg, a member of class TWinControl. 
 
Indicates whether a specified mouse message is directed to one of the windowed control's child controls. 
 
This is IsQualifyingSite, a member of class TWinControl. 
 
Respond to key press events. 
 
Respond to keyboard input. 
 
Respond to released key. 
 
Initializes the component after the form file has been read into memory. 
 
Initializes the control after it is loaded from a stream. 
 
Receives Windows messages for the control. 
 
This is MouseActivate, a member of class TControl. 
 
OnMouseDown event dispatcher. 
 
Respond to mouse moving over control area.. 
 
OnMouseUp event dispatcher. 
 
Responds to notifications that components are being created or destroyed. 
 
Sends a message to all the child controls. 
 
Paints each of the child controls in a windowed control using the specified device context. 
 
Responds to WM_PAINT messages. 
 
Renders the image of a windowed control. 
 
Responds to changes in the system's palette by realizing the control's palette and the palette for each child control. 
 
Responds when the component is created from the component palette. 
 
Positions the docking rectangle according to the current drag-and-dock state. 
 
Returns a reference to a specified interface if the object supports that interface. 
 
Prepares the control for having its properties assigned values from a stream. 
 
Recreate underlying Windows screen object. 
 
Reloads a docked control. 
 
This is RemoveWindowProps, a member of class TWinControl. 
 
Instructs the parent of a control to reposition the control, enforcing its Align property. 
 
Restores the input method editor (IME) that was active when the application started. 
 
Directs the composition window of the input method editor (IME) to perform a specific action. 
 
Respond to control resize. 
 
This is ScaleConstraints, a member of class TControl. 
 
Rescale child controls only. 
 
Locates first selectable child control. 
 
Moves the input focus from the current child control to the next one in the tab order. 
 
Cancels the modal state of the control. 
 
Sends a Windows message to the control's host dock site. 
 
This is SetAncestor, a member of class TComponent. 
 
This is SetAutoSize, a member of class TControl. 
 
Sets the control's bi-directional mode. 
 
Changes the order in which the child component appears in the list of child components returned by the GetChildren method. 
 
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 drag mode for the control. 
 
Sets the value of the Enabled property. 
 
Activates an input method editor (IME) using the values specified by the ImeMode and ImeName properties. 
 
Sets the position and font of the composition window. 
 
Sets the csInline bit of the component's ComponentState property 
 
Sets the value of the Name property. 
 
Sets the name of the control. 
 
Sets the parent of the control. 
 
This is SetParentBackground, a member of class TWinControl. 
 
Specifies whether the control uses its parent's BiDiMode
 
This is SetParentComponent, a member of class TComponent. 
 
Sets the parent for the control. 
 
Moves the control to the top or bottom of the parent control's (or screen's) list of TWinControl controls. 
 
Ensures that a specified child control is visible. 
 
This is UpdateBounds, a member of class TWinControl. 
 
Changes the Top, Left, Width, and Height properties of the control, but doesn't update its screen image and bypasses all resize events. 
 
This is UpdateControlOriginalParentSize, a member of class TWinControl. 
 
Clears the csUpdating state in the component's ComponentState property when the component finishes updating. 
 
This is UpdateExplicitBounds, a member of class TControl. 
 
This is UpdateRecreatingFlag, a member of class TWinControl. 
 
Provides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces. 
 
Updates form User Interface State as needed 
 
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. 
 
Provides the interface for a method that responds to changes in the control's visibility. 
 
Provides specific message responses for the control. 
 
This is WriteState, a member of class TComponent. 
 
Name 
Description 
 
Contains the action link object associated with the control. 
 
Specifies whether the control sizes itself automatically to accommodate its contents. 
 
Specifies which edges of the control are beveled. 
 
Specifies the cut of the inner bevel. 
 
Specifies the control's bevel style. 
 
Specifies the cut of the outer bevel. 
 
Specifies the width of the inner and outer bevels. 
 
Specifies the width of the control's border. 
 
Specifies a text string that identifies the control to the user. 
 
Specifies the background color of the control. 
 
Determines whether a control has a three-dimensional (3-D) or two-dimensional look. 
 
Specifies the default window procedure for the windowed control. 
 
Specifies whether the control uses the Windows icon font when writing text. 
 
Indicates the image used to represent the mouse pointer when the control is being dragged. 
 
Specifies whether the control is being dragged normally or for docking. 
 
Determines how the control initiates drag-and-drop or drag-and-dock operations. 
 
Font 
Controls the attributes of text written on or in the control. 
 
Determines the behavior of the input method editor (IME). 
 
Specifies the input method editor (IME) to use for converting keyboard input to Asian language characters. 
 
Determines whether a form stores its form-specific properties to a stream. 
 
Indicates whether the control has "captured" mouse events. 
 
Determines whether control uses parent's theme background. 
 
Specifies whether the control uses its parent's BiDiMode
 
Determines where a control looks for its color information. 
 
Determines where a component looks to determine if it should appear three dimensional. 
 
Determines where a control looks for its font information. 
 
Determines where a control looks to find out if its Help Hint should be shown. 
 
Identifies the pop-up menu associated with the control. 
 
Reflects which attributes of the control have been scaled. 
 
Text 
Contains a text string associated with the control. 
 
Accumulates mouse wheel rotations. 
 
Provides access to a window handle for the control. 
 
Contains the text string of the control. 
 
Name 
Description 
 
Points to the window procedure that responds to messages sent to the control. 
 
Name 
Description 
 
Increments the reference count for this interface. 
 
Decrements the reference count for this interface. 
 
Responds after the last constructor has executed. 
 
Copies the contents of another, similar object. 
 
Performs any necessary actions before the first destructor is called. 
 
Responds before the first destructor executes. 
 
Starts the dragging of a control. 
 
Puts the control in front of all other controls in its parent control. 
 
Sends a message to each of the child controls. 
 
Indicates whether a control can receive focus. 
 
Returns a pointer to the runtime type information (RTTI) table for the object type. 
 
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). 
 
Determines whether an object is of a specific type. 
 
Returns the type of the immediate ancestor of a class. 
 
Returns the class reference for the object's class. 
 
Performs finalization on long strings, variants, and interface variables within a class. 
 
Translates client coordinates to parent coordinates. 
 
Translates a given point from client area coordinates to global screen coordinates. 
 
Indicates whether a specified control exists within the control. 
 
Returns the child control located at a specified position within the control. 
 
Creates an instance of TWinControl
 
Creates and initializes a control as the child of a specified non-VCL container. 
 
Creates and initializes a control as the child of a specified non-VCL window. 
 
Provides message handling for all messages that the control does not fully process itself. 
 
Destroys an instance of TWinControl
 
Destroys all owned components. 
 
Indicates that the component and its owned components are about to be destroyed. 
 
Disables the realignment of child controls. 
 
Calls message-handling methods for the object, based on the contents of the Message parameter. 
 
Dock 
Used internally to dock the control. 
 
Generates an OnDockDrop event. 
 
OnDragDrop event dispatcher. 
 
Indicates whether a control is being dragged. 
 
Returns the text flags that reflect the current setting of the BiDiMode property. 
 
Returns the text flag to add that indicates whether the control's text should read from right to left. 
 
Decrements the reference count incremented by the DisableAlign method, eventually realigning the child controls. 
 
Stops a control from being dragged any further. 
 
This is ExecuteAction, a member of class TComponent. 
 
Returns the address of a published object field. 
 
Returns a child control given its name. 
 
Indicates whether a given component is owned by the component. 
 
Reverses the positions of child controls. 
 
Determines whether the control has input focus. 
 
Free 
Destroys an object and frees its associated memory, if necessary. 
 
Deallocates memory allocated by a previous call to the System::TObject::NewInstance method. 
 
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 reference to the component associated by the implementing class. 
 
Indicates how text is aligned within the control. 
 
Returns a TComponent enumerator. 
 
Retrieves a specified interface. 
 
Returns the entry for a specific interface implemented in a class. 
 
Returns a pointer to a structure containing all of the interfaces implemented by a given class. 
 
Returns a string used by the Object Inspector. 
 
Returns the name of the object as it appears in the Object Inspector. 
 
Returns the containing Component. 
 
Returns the parent of the control. 
 
Builds a list of controls in tab order. 
 
Retrieves the control's text, copies it into a buffer, and returns the number of characters copied. 
 
Returns the length of the control's text. 
 
Reports whether a screen object handle exists for the control. 
 
Creates a screen object for the control if it doesn't already exist. 
 
This is HasParent, a member of class TComponent. 
 
Indicates whether the control has a parent. 
 
Hide 
Makes the control invisible. 
 
Determines the relationship of two object types. 
 
Calls the action link's Update method if the control is associated with an action link. 
 
Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. 
 
Establishes the component as the owner of a specified component. 
 
Inserts a control into the Controls array property. 
 
Returns the size in bytes of each instance of the object type. 
 
Schedules a control repaint. 
 
Indicates whether the component implements a specified interface. 
 
Indicates whether the control should be reversed right to left. 
 
Docks the control. 
 
Undocks the control. 
 
This is MethodAddress, a member of class TObject. 
 
This is MethodName, a member of class TObject. 
 
Dispatches messages received from a mouse wheel. 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
This is the overview for the PaintTo method overload. 
 
Translate parent coordinates to client coordinates. 
 
Responds as if the control received a specified Windows message. 
 
This is PreProcessMessage, a member of class TWinControl. 
 
Returns a reference to a specified interface if the object supports that interface. 
 
Forces the control to realign children. 
 
Establishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed. 
 
Repaints the control on the screen. 
 
Removes a specified component specified from the component's Components list. 
 
Removes a specified control from the Controls array. 
 
Disables destruction notification that was enabled by FreeNotification 
 
Repaints the entire control. 
 
Docks the control in the place where another control is already docked. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Rescale control and its children. 
 
Converts the screen coordinates of a specified point on the screen to client coordinates. 
 
Scroll control contents. 
 
Puts a windowed control behind all other windowed controls, or puts a non-windowed control behind all other non-windowed controls. 
 
Sets the windowed control's boundary properties all at once. 
 
Makes a control visible at design time. 
 
Gives the input focus to the control. 
 
Identifies whether the component is a subcomponent. 
 
Sets the text of the control. 
 
Show 
Makes a control visible. 
 
Forces the control to update. 
 
This is UpdateAction, a member of class TComponent. 
 
Respond to state change. 
 
Specifies whether the control's alignment should be reversed right-to-left. 
 
Specifies whether the control is using a right-to-left reading order. 
 
Specifies whether the vertical scroll bar appears on the left side of the control. 
 
Name 
Description 
 
Designates the action associated with the control. 
 
Determines how the control aligns within its container (parent control). 
 
Indicates child control realignment disabled. 
 
Specifies how the control is anchored to its parent. 
 
Specifies the bi-directional mode for the control. 
 
Specifies the bounding rectangle of the control, expressed in the coordinate system of the parent control. 
 
Determines the color and pattern used for painting the background of the control. 
 
Specifies the height of the control's client area in pixels. 
 
Specifies the screen coordinates (in pixels) of the top left corner of a control's client area. 
 
Specifies the size (in pixels) of a control's client area. 
 
Specifies the horizontal size of the control's client area in pixels. 
 
Specifies the interface reference implemented by the component. 
 
Indicates the number of components owned by the component. 
 
Indicates the position of the component in its owner's Components property array. 
 
Lists all components owned by the component. 
 
Describes the current state of the component, indicating when a component needs to avoid certain actions. 
 
Governs the behavior of the component. 
 
Specifies the size constraints for the control. 
 
Returns the number of child controls. 
 
Lists all child controls. 
 
Indicates the current state of a control at runtime. 
 
Determines style characteristics of the control. 
 
Contains information used by the Form designer. 
 
Specifies the number of controls that are docked on the windowed control. 
 
Lists the controls that are docked to the windowed control. 
 
Specifies the control's docking manager interface. 
 
Specifies how the control is docked relative to other controls docked in the same parent. 
 
Specifies whether the control can be the target of drag-and-dock operations. 
 
Determines whether the control's image is rendered directly to the window or painted to an in-memory bitmap first. 
 
Controls whether the control responds to mouse, keyboard, and timer events. 
 
Specifies the explicit vertical size of the control in pixels. 
 
Specifies the explicit horizontal pixel coordinate of the left edge of a component relative to its parent. 
 
Specifies the explicit vertical pixel coordinate of the top edge of a component relative to its parent. 
 
Specifies the explicit horizontal size of the control in pixels. 
 
Indicates whether the control is floating. 
 
Specifies the class of the temporary control that hosts the control when it is floating. 
 
Provides access to the underlying Windows screen object for the control. 
 
Specifies the control in which the control is docked. 
 
Specifies the width of the control when it is docked horizontally. 
 
This is MouseInClient, a member of class TWinControl. 
 
Indicates the component that is responsible for streaming and freeing this component. 
 
Specifies the padding of a control. 
 
Indicates the parent of the control. 
 
Reference to parent's underlying control. 
 
Determines whether the control displays a Help Hint when the mouse pointer rests momentarily on the control. 
 
Indicates whether the control is showing on the screen. 
 
Indicates the position of the control in its parent's tab order. 
 
Determines if the user can tab to a control. 
 
Specifies the height of the control when it is docked vertically. 
 
Specifies the height of the control when it is floating. 
 
Specifies the width of the control when it is floating. 
 
Specifies whether the docking manager is used in drag-and-dock operations. 
 
Represents information used internally by components that support COM. 
 
Determines whether the component appears onscreen. 
 
Specifies the number of visible controls that are docked on the windowed control. 
 
Name 
Description 
 
Indicates whether a control should be constrained by margins. 
 
Specifies the image used to represent the mouse pointer when it passes into the region covered by the control. 
 
Specifies the vertical size of the control in pixels. 
 
Numeric ID for control's context-sensitive help topic 
 
Keyword for control's context-sensitive help topic 
 
Indicates whether the control's context sensitive help topic is identified by context ID or by keyword. 
 
Hint 
Contains the text string that can appear when the user moves the mouse over the control. 
 
Left 
Specifies the horizontal coordinate of the left edge of a component relative to its parent. 
 
Specifies the margins for the control. 
 
Name 
Specifies the name of the component as referenced in code. 
 
Tag 
Stores an integer value as part of a component. 
 
Top 
Specifies the Y coordinate of the top left corner of a control, relative to its parent or containing control in pixels. 
 
Specifies the horizontal size of the control or form in pixels. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!