RAD Studio VCL Reference
ContentsIndex
TCustomForm Members Protected Methods
Protected Methods
 
Name 
Description 
 
Called when an application uses a component interface. 
 
Called when an application releases a component interface. 
 
Responds when the action associated with the control changes. 
 
Updates the control to reflect changes in its associated action. 
 
Activation event dispatcher. 
 
Active state event dispatcher. 
 
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 ClientRect property to exclude the scroll bars. 
 
Sets the size of the control as determined by the AutoSize property. 
 
Adjusts the control's size according to its contents and constraints. 
 
Aligns all child controls of the form that fall within a specified rectangle. 
 
This is ArrangeControl, a member of class TWinControl. 
 
Copies the properties of an object to a destination object. 
 
Overrides the inherited AssignTo function to enable assignments to TAction objects. 
 
Copies the properties of the windowed control to another object. 
 
Indicates whether automatic scrolling is enabled. 
 
Scrolls a control into the visible area of the scrolling windowed control. 
 
Responds when the user starts dragging the form if DragMode is dmAutomatic. 
 
This is CalcCursorPos, a member of class TControl. 
 
Indicates whether the control can resize itself automatically to accommodate its contents. 
 
Indicates how the control can be resized. 
 
OnCanResize event dispatcher. 
 
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. 
 
Repositions and resizes the form by the ratio M/D, adjusting its client area and font size as needed. 
 
Respond to user click. 
 
This is CloseModal, a member of class TCustomForm. 
 
Notify control of resize with constraints. 
 
Generates an OnConstrainedResize event. 
 
This is ControlsAligned, a member of class TWinControl. 
 
Creates the dock manager for the control. 
 
Creates underlying screen object. 
 
Initializes the window-creation parameter record when the form window is created. 
 
Creates a windowed control derived from an existing Windows window class. 
 
Creates a form window given a set of window-creation parameters. 
 
Creates the form window. 
 
Returns placement order of custom-aligned child control. 
 
Returns aligned position of custom-aligned child control. 
 
OnDblClick event dispatcher. 
 
Generates an OnDeactivate event. 
 
Handles the painting and erasing of a dock image. 
 
Designates methods for storing a form's unpublished data on 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. 
 
Form closing event dispatcher. 
 
OnContextPopup event dispatcher. 
 
Form creation event dispatcher. 
 
Form destruction 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. 
 
Flips the control's children. 
 
Form hide event dispatcher. 
 
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. 
 
Form show event dispatcher. 
 
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 appropriate action link class that is associated with the control class. 
 
Returns the associated action link class. 
 
This is GetBorderIconStyles, a member of class TCustomForm. 
 
This is GetBorderStyles, a member of class TCustomForm. 
 
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. 
 
Returns the "child" components of the form; that is, those components that return the form from their GetParentComponent method. 
 
Returns the screen coordinates of the top-left corner of the control's client area. 
 
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. 
 
Returns a device context for the control. 
 
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. 
 
This is GetOwnerWindow, a member of class TCustomForm. 
 
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). 
 
Handles exceptions that are raised by the OnCreate event handler. 
 
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. 
 
Performs fix-ups when the form is first loaded into memory. 
 
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 objects are about to be inserted or removed. 
 
Sends a message to all the child controls. 
 
Generates an OnPaint event. 
 
Paints each of the child controls in a windowed control using the specified device context. 
 
Responds to WM_PAINT messages. 
 
Renders the image of the form. 
 
Responds to changes in the system's palette by realizing the control's palette as returned from GetPalette. 
 
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 that interface is supported by the form. 
 
Reads the form's published properties, stored data, and owned components from a reader object. 
 
Recreate underlying Windows screen object. 
 
Reloads a docked control. 
 
This is RemoveWindowProps, a member of class TWinControl. 
 
Instructs the form's parent (if any) to reposition the form, 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. 
 
Makes any required adjustments when the form changes size. 
 
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. 
 
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 Child appears when GetChildren is called. 
 
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 property. 
 
This is SetParentBackground, a member of class TWinControl. 
 
Sets the ParentBiDiMode property. 
 
This is SetParentComponent, a member of class TComponent. 
 
Sets the parent for the control. 
 
Repositions the control in its parent's control list, thereby changing position onscreen. 
 
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. 
 
Updates all actions associated with the form. 
 
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 
 
Updates the WindowState property to reflect the current state of the form. 
 
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. 
 
Determines if a form can rename one of its owned components. 
 
Responds just before the form changes the value of its Visible property. 
 
Provides specific message responses for the form. 
 
This is WriteState, a member of class TComponent. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.