RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm Methods

The methods of the TCustomForm class are listed here.

 
Name 
Description 
 
Activation event dispatcher. 
 
Active state event dispatcher. 
 
Aligns all child controls of the form that fall within a specified rectangle. 
 
Responds when the user starts dragging the form if DragMode is dmAutomatic. 
 
Repositions and resizes the form by the ratio M/D, adjusting its client area and font size as needed. 
 
CloseModal prepares a modal form for closing. 
 
Initializes the window-creation parameter record when the form window is created. 
 
Creates a form window given a set of window-creation parameters. 
 
Creates the form window. 
 
Generates an OnDeactivate event. 
 
Designates methods for storing a form's unpublished data on a stream such as a form file. 
 
Destroys the control's window without destroying the control. 
 
Destroys the window created in the CreateWindowHandle method. 
 
Form closing event dispatcher. 
 
Form creation event dispatcher. 
 
Form destruction event dispatcher. 
 
Docking event dispatcher. 
 
Form hide event dispatcher. 
 
Form show event dispatcher. 
 
This is get_ActiveMDIChild, a member of class TCustomForm. 
 
This is get_MDIChildCount, a member of class TCustomForm. 
 
This is get_MDIChildren, a member of class TCustomForm. 
 
This is GetBorderIconStyles, a member of class TCustomForm. 
 
This is GetBorderStyles, a member of class TCustomForm. 
 
Returns the value of the ClientRect property. 
 
Returns the value of the Floating property. 
 
This is GetOwnerWindow, a member of class TCustomForm. 
 
Handles exceptions that are raised by the OnCreate event handler. 
 
This is InitializeNewForm, a member of class TCustomForm. 
 
Performs fix-ups when the form is first loaded into memory. 
 
Responds to notifications that objects are about to be inserted or removed. 
 
Generates an OnPaint event. 
 
Renders the image of the form. 
 
Responds to changes in the system's palette by realizing the control's palette as returned from GetPalette. 
 
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. 
 
Instructs the form's parent (if any) to reposition the form, enforcing its Align property. 
 
Makes any required adjustments when the form changes size. 
 
Changes the order in which Child appears when GetChildren is called. 
 
Sets the Parent property. 
 
Sets the ParentBiDiMode property. 
 
Updates all actions associated with the form. 
 
Updates the WindowState property to reflect the current state of the form. 
 
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. 
 
Name 
Description 
 
Construction event dispatcher. 
 
Destruction event dispatcher. 
 
Closes the form. 
 
Close attempt event dispatcher. 
 
Provides message handling for all messages that the form does not fully process. 
 
Removes focus from a control on the form. 
 
Dock 
Handles automatic docking of the form into other windows. 
 
Sets focus to a control on the form. 
 
Returns the "child" components of the form; that is, those components that return the form from their GetParentComponent method. 
 
Returns a bitmap of the form. 
 
Hide 
Hides the form. 
 
Processes shortcut keys when the form has focus. 
 
Ensures that the form is fully visible on a specified monitor. 
 
Directs mouse wheel messages to the appropriate control. 
 
Prints the form. 
 
This is RecreateAsPopup, a member of class TCustomForm. 
 
Destroys the form and frees its associated memory. 
 
Cancels modes on the form. 
 
This is set_PopupParent, a member of class TCustomForm. 
 
Sets focus to the form. 
 
Sets focus to a control on the form. 
 
Show 
Shows the form. 
 
Shows a form as a modal dialog. 
 
Indicates whether the form processes keyboard input for a control it owns. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!