RAD Studio VCL Reference
ContentsIndex
TWinControl Members Public Methods
Public Methods
 
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. 
 
Checks if the current instance and the parameter are equal. 
 
Executes an action. 
 
This is the overview for the FieldAddress method overload. 
 
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. 
 
Calls a specified method for each child of the control. 
 
Returns a reference to the component associated by the implementing class. 
 
Indicates how text is aligned within the control. 
 
Returns a TComponent enumerator. 
 
Returns an integer containing the hash code. 
 
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. 
 
Verifies whether the component has a parent. 
 
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 the overview for the MethodAddress method overload. 
 
Returns the name of a class method by address. 
 
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. 
 
This is the overview for the Perform method overload. 
 
Returns False, no matter the value of Msg
 
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. 
 
Sets the parent for the control. 
 
Identifies whether the component is a subcomponent. 
 
Sets the text of the control. 
 
Show 
Makes a control visible. 
 
Returns a string containing the class name. 
 
Returns a string containing the unit name. 
 
Forces the control to update. 
 
Updates the state of an action. 
 
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. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.