RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TApplication Members

The following tables list the members exposed by TApplication.

 
Name 
Description 
 
FComponentStyle is the field of the ComponentStyle read-only property. 
 
Name 
Description 
 
Called when an application uses a component interface. 
 
Called when an application releases a component interface. 
 
Copies the properties of an object to a destination object. 
 
Sets the private, internal storage for the Name property to the string passed in NewName. 
 
Designates methods for storing an object's unpublished data on a stream such as a form file. 
 
Provides an interface for a method that reads and writes otherwise unpublished data. 
 
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. 
 
Enumerates all child components. 
 
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. 
 
Retrieves the type information for an object. 
 
Returns the number of type information interfaces that an object provides (either 0 or 1). 
 
Idle 
Processes messages in the Message queue for certain events. 
 
Provides access to Automation properties and methods when the component wraps an Automation object. 
 
Returns True if Msg is a dialog message, or False otherwise. 
 
Returns True if Msg is a hint message, or False otherwise. 
 
Returns True if Msg is a key message, or False otherwise. 
 
Returns True if Msg is a MDI message, or False otherwise. 
 
Returns True if Msg is a preprocess message, or False otherwise. 
 
Evaluates an input key combination to determine whether it is a shortcut. 
 
Initializes the component after the form file has been read into memory. 
 
Forwards notification messages to all owned components. 
 
Responds when the component is created from the component palette. 
 
Returns a reference to a specified interface if the object supports that interface. 
 
Reads the state of the component. 
 
Clears or sets csAncestor state in the component's ComponentState property. 
 
Sets the visual ordering of a child control. 
 
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 csInline bit of the component's ComponentState property 
 
Sets the value of the Name property. 
 
Sets the parent component. 
 
Clears the csUpdating state in the component's ComponentState property when the component finishes updating. 
 
Provides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces. 
 
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. 
 
Writes the state of the component. 
 
Name 
Description 
 
Occurs when an action's Execute method is called and its action list has not already handled it. 
 
Occurs when an action's Update method is called and its action list has not already handled it. 
 
Occurs when an application becomes active. 
 
Occurs when an application becomes inactive. 
 
Occurs when an unhandled exception occurs in the application. 
 
OnGetActiveFormHandle is the event triggered when reading the value of the ActiveFormHandle property. 
 
OnGetMainFormHandle is the event triggered when reading the value of the MainFormHandle property. 
 
Occurs when the application receives a request for help. 
 
Occurs when the mouse pointer moves over a control or menu item that can display a Help Hint
 
Occurs when an application becomes idle. 
 
Occurs when the application receives a Windows message. 
 
Occurs when an application is minimized. 
 
Occurs when a modal form is opened. 
 
Occurs when a modal form is closed. 
 
Occurs when the previously minimized application is restored to its normal size. 
 
Occurs when Windows notifies the application that a system-wide setting has changed. 
 
Occurs when the user presses a key (before the OnKeyDown event). 
 
Occurs when the application is about to display the hint window for a Help Hint
 
Name 
Description 
 
Increments the reference count for this interface. 
 
Decrements the reference count for this interface. 
 
Displays a hint window for the control at a specified position. 
 
Adds a PopupForm to the current form. 
 
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. 
 
Sets the last active window as the topmost window on the desktop above all other applications. 
 
Cancels the display of a hint for a control. 
 
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. 
 
Notifies the application when a control is destroyed. 
 
Creates a new application. 
 
Creates a new form. 
 
Generates a main window for the application if it does not already have one. 
 
Provides the interface for a method that processes message records. 
 
Destroys the application instance and all of its associated memory. 
 
Destroys all owned components. 
 
Indicates that the component and its owned components are about to be destroyed. 
 
Calls message-handling methods for the object, based on the contents of the Message parameter. 
 
Processes messages in the Message queue for certain events. 
 
Checks if the current instance and the parameter are equal. 
 
Generates an OnActionExecute event. 
 
This is the overview for the FieldAddress method overload. 
 
Indicates whether a given component is owned by the component. 
 
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. 
 
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. 
 
Provides default handling of exceptions for the application. 
 
Interrupts the execution of an application while Windows processes a message in the Windows message queue. 
 
Verifies whether the component has a parent. 
 
Provides quick access to any of the Help commands in the WinHelp API (application programming interface). 
 
Displays a specified help topic. 
 
Displays a specified help topic. 
 
Displays a specified help topic. 
 
Shows the Table of Contents within the help system. 
 
Hides the current hint. 
 
Regulates the display of hint windows. 
 
Enables a native Windows dialog box to receive messages sent to the application's main window. 
 
Assigns a method to the WakeMainThread variable. 
 
Determines the relationship of two object types. 
 
Provides an opportunity to initialize subsystems. 
 
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. 
 
Returns the size in bytes of each instance of the object type. 
 
Indicates whether the component implements a specified interface. 
 
Specifies whether the application adjusts its interface for Middle Eastern locales. 
 
Displays a specified message to the user. 
 
This is the overview for the MethodAddress method overload. 
 
Returns the name of a class method by address. 
 
Shrinks an application to the Windows task bar. 
 
Track closing of modal form. 
 
Track opening of modal form. 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
Makes forms that have been designated as topmost forms (their FormStyle is fsStayOnTop) behave as if they were not topmost forms. 
 
Makes forms that have been designated as topmost forms (their FormStyle is fsStayOnTop) behave as if they were not topmost forms. 
 
Interrupts the execution of an application so that it can process the message queue. 
 
Returns a reference to a specified interface if the object supports that interface. 
 
Establishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed. 
 
Removes a specified component specified from the component's Components list. 
 
Disables destruction notification that was enabled by FreeNotification 
 
Removes a PopupForm from the current form. 
 
Restores a minimized application to its normal size. 
 
Restores forms designated as fsStayOnTop to be topmost again. 
 
Run 
Executes the application. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Identifies whether the component is a subcomponent. 
 
Displays a message box for exceptions that are not caught by application code. 
 
Ends application execution. 
 
Returns a string containing the class name. 
 
Releases a dialog procedure previously hooked by a call to the HookMainWindow method. 
 
Removes the method that was assigned to the WakeMainThread variable by HookSynchronizeWakeup
 
Returns a string containing the unit name. 
 
Generates an OnActionUpdate event. 
 
Specifies whether the application object is in a right-to-left alignment mode. 
 
Specifies whether the application object is in a right-to-left text mode. 
 
Specifies whether the vertical scroll bar appears on the left side controls. 
 
Name 
Description 
 
Delays the call to DoActionIdle. 
 
Specifies whether the application is active and has focus. 
 
Gives the Windows handle of the currently active form. 
 
Represents information for the IDE. 
 
Indicates whether dragged windows are automatically docked. 
 
Specifies the name of the keyboard map that should be used in middle-east locales when text reads from right to left. 
 
Indicates the layout of the application when running under Middle Eastern versions of Windows. 
 
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. 
 
Indicates the current help file. 
 
Specifies the default font used by the application. 
 
Contains information used by the Form designer. 
 
Provides a mechanism for using non-VCL dialog boxes in an application. 
 
Is a Boolean variable used for hint displaying. 
 
Contains the file name of the application's executable file including path information. 
 
Provides access to the window handle of the main form (window) of the application. 
 
Specifies the name of the default file the application uses to display Help. 
 
Provides access to the interface for working with the help system. 
 
Hint 
Specifies the text string that appears in the Help Hint box. 
 
Determines the color of the hint boxes for the Help Hints for the application. 
 
Specifies the time interval to wait before hiding the Help Hint if the mouse has not moved from the control or menu item. 
 
Specifies the time interval that passes before the control's Help Hint appears when the user places the mouse pointer on a control or menu item. 
 
Specifies whether the application's pop-up hints include shortcut information. 
 
Specifies the time period to wait before bringing up a hint if another hint has already been shown. 
 
Icon 
Determines which icon represents the application on the Windows task bar. 
 
Identifies which form in the application is the main window. 
 
Gives the Windows handle of the application main form. 
 
Controls how Windows taskbar buttons are handled by VCL. 
 
Gives the number of currently open modal forms. 
 
Controls how the modal form behaves, with respect to Windows' WS_POPUP style. 
 
Specifies the name of the keyboard map that should be used unless text reads from right to left. 
 
Indicates the component that is responsible for streaming and freeing this component. 
 
Gives the handle to the popup control handler routine. 
 
Determines whether Help Hints are enabled or disabled for the entire application. 
 
Determines whether the application shows its main form on startup. 
 
Reports whether the application is in the process of shutting down. 
 
Contains the text that appears below the icon representing the application when it is minimized. 
 
Specifies whether format settings are updated automatically when the user alters the system configuration. 
 
Specifies whether the settings used for the hint window font and the icon title font are updated. 
 
Represents information used internally by components that support COM. 
 
Name 
Description 
 
Name 
Specifies the name of the component as referenced in code. 
 
Tag 
Stores an integer value as part of a component. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!