Vcl.Forms.TApplication Methods

From RAD Studio API Documentation
Jump to: navigation, search

InheritedProtected
_AddRefprotectedCalled when an application uses a component interface.
_ReleaseprotectedCalled when an application releases a component interface.
ActivateHintpublicDisplays a hint window for the control at a specified position.
AddPopupFormpublicAdds a PopupForm to the current form.
AfterConstructionpublicResponds after the last constructor has executed.
ApplyBiDiKeyboardLayoutpublic
ApplyNonBiDiKeyboardLayoutpublic
AssignpublicCopies the contents of another similar object.
AssignToprotectedCopies the properties of an object to a destination object.
AsyncScheduleprotectedSchedules asynch method calls.
BeforeDestructionpublicPerforms any necessary actions before the first destructor is called.
BeginInvokepublicPerforms an asynchronous call to the method specified by either AProc or AFunc.
BringToFrontpublicSets the last active window as the topmost window on the desktop above all other applications.
CancelHintpublicCancels the display of a hint for a control.
CanObserveprotected
ChangeNameprotectedSets the private, internal storage for the Name property to the string passed in NewName.
CheckDisposedprotected
ClassInfopublicReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNamepublicReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIspublicDetermines whether an object is of a specific type.
ClassParentpublicReturns the type of the immediate ancestor of a class.
ClassTypepublicReturns the class reference for the object's class.
CleanupInstancepublicPerforms finalization on long strings, variants, and interface variables within a class.
ControlDestroyedpublicNotifies the application when a control is destroyed.
CreatepublicCreates a new application.
CreateFormpublicCreates a new form.
CreateHandlepublicGenerates a main window for the application if it does not already have one.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DefinePropertiesprotectedDesignates methods for storing an object's unpublished data on a stream such as a form file.
DestroypublicDestroys the application instance and all of its associated memory.
DestroyComponentspublicDestroys all owned components.
DestroyingpublicIndicates that the component and its owned components are about to be destroyed.
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOfpublicDisposeOf forces the execution of the destructor code in an object.
DoApplicationIdlepublicProcesses messages in the Message queue for certain events.
EndFunctionInvokepublicBlocks the caller until the specified ASyncResult completes.
EndInvokepublicBlocks the caller until the specified ASyncResult completes.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
ExecuteActionpublicGenerates an OnActionExecute event.
FieldAddresspublicReturns the address of a published object field.
FindComponentpublicIndicates whether a given component is owned by the component.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
FreeNotificationpublicEnsures that AComponent is notified that the component is going to be destroyed.
FreeOnReleasepublicFrees the interface reference for components that were created from COM classes.
GetChildOwnerprotectedReturns the owner of a child component being read from a stream.
GetChildParentprotectedReturns the parent or, if there is no parent, returns the owner of a child component being read from a stream.
GetChildrenprotectedEnumerates all child components.
GetDeltaStreamsprotected
GetDisposedprotectedGetter for the Disposed property.
GetEnumeratorpublicReturns a TComponent enumerator.
GetHashCodepublicReturns an integer containing the hash code.
GetIDsOfNamesprotectedMaps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs).
GetInterfacepublicRetrieves a specified interface.
GetInterfaceEntrypublicReturns the entry for a specific interface implemented in a class.
GetInterfaceTablepublicReturns a pointer to a structure containing all of the interfaces implemented by a given class.
GetNamePathpublicReturns a string used by the Object Inspector.
GetObserversprotectedGetter of Observers.
GetOwnerprotectedReturns the owner of a component.
GetParentComponentpublicReturns the containing component.
GetTypeInfoprotectedRetrieves the type information for an object.
GetTypeInfoCountprotectedReturns the number of type information interfaces that an object provides (either 0 or 1).
HandleExceptionpublicProvides default handling of exceptions for the application.
HandleMessagepublicInterrupts the execution of an application while Windows processes a message in the Windows message queue.
HasParentpublicVerifies whether the component has a parent.
HelpCommandpublicProvides access to any of the Help commands in the application programming interface (API) of native Help handling functions HTMLHelp, WinHelp, or other.
HelpContextpublicDisplays the Help topic specified by the numeric context identifier.
HelpJumppublicDisplays the Help topic specified by the symbolic name.
HelpKeywordpublicDisplays the Help topic specified by the keyword.
HelpShowTableOfContentspublicShows the table of contents within the Help system.
HideHintpublicHides the current hint.
HintMouseMessagepublicRegulates the display of hint windows.
HookMainWindowpublicEnables a native Windows dialog box to receive messages sent to the application's main window.
HookSynchronizeWakeuppublicAssigns a method to the WakeMainThread variable.
IdleprotectedProcesses messages in the Message queue for certain events.
InheritsFrompublicDetermines the relationship of two object types.
InitializepublicProvides an opportunity to initialize subsystems.
InitInstancepublicInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InsertComponentpublicEstablishes the component as the owner of a specified component.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
InvokeprotectedProvides access to Automation properties and methods when the component wraps an Automation object.
IsDlgMsgprotectedReturns True if Msg is a dialog message, or False otherwise.
IsHintMsgprotectedReturns True if Msg is a hint message, or False otherwise.
IsImplementorOfpublicIndicates whether the component implements a specified interface.
IsKeyMsgprotectedReturns True if Msg is a key message, or False otherwise.
IsMDIMsgprotectedReturns True if Msg is a MDI message, or False otherwise.
IsPreProcessMessageprotectedReturns True if Msg is a preprocess message, or False otherwise.
IsRightToLeftpublicSpecifies whether the application adjusts its interface for Middle Eastern locales.
IsShortCutprotectedEvaluates an input key combination to determine whether it is a shortcut.
LoadedprotectedInitializes the component after the form file has been read into memory.
MessageBoxpublicDisplays a specified message to the user.
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
MinimizepublicShrinks an application to the Windows task bar.
ModalFinishedpublicTrack closing of modal form.
ModalStartedpublicTrack opening of modal form.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
NormalizeAllTopMostspublicMakes forms that have been designated as topmost forms (their FormStyle is fsStayOnTop) behave as if they were not topmost forms.
NormalizeTopMostspublicMakes forms that have been designated as topmost forms (their FormStyle is fsStayOnTop) behave as if they were not topmost forms.
NotificationprotectedForwards notification messages to all owned components.
ObserverAddedprotected
operator ()publicC++ conversion of a TComponent into a System.Classes.IInterfaceComponentReference or a System.IInterface, depending on casting.
PaletteCreatedprotectedResponds when the component is created from the component palette.
ProcessMessagespublicInterrupts the execution of an application so that it can process the message queue.
QualifiedClassNamepublicReturns the qualified name of the class.
QueryInterfaceprotectedReturns a reference to a specified interface if the current component supports that interface.
ReadStateprotectedReads the state of the component.
ReferenceInterfacepublicEstablishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed.
RemoveComponentpublicRemoves a specified component specified from the component's Components list.
RemoveFreeNotificationpublicDisables the destruction notification that was enabled by FreeNotification.
RemoveFreeNotificationsprotectedNotifies all owned components of the owner component's imminent destruction.
RemovePopupFormpublicRemoves a PopupForm from the current form.
RestorepublicRestores a minimized application to its normal size.
RestoreTopMostspublicRestores forms designated as fsStayOnTop to be topmost again.
RunpublicExecutes the application.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SetAncestorprotectedClears or sets csAncestor state in the component's ComponentState property.
SetChildOrderprotectedSets the visual ordering of a child control.
SetDesigningprotectedEnsures that components inserted at design time have their design-mode flag set.
SetDesignInstanceprotectedEnsures that components inserted at design time have their design-mode flag set.
SetInlineprotectedSets the csInline bit of the component's ComponentState property.
SetNameprotectedSets the value of the Name property.
SetParentComponentprotectedSets the parent component.
SetSubComponentpublicIdentifies whether the component is a subcomponent.
ShowExceptionpublicDisplays a message box for exceptions that are not caught by application code.
TerminatepublicEnds application execution.
ToStringpublicReturns a string containing the class name.
UnhookMainWindowpublicReleases a dialog procedure previously hooked by a call to the HookMainWindow method.
UnhookSynchronizeWakeuppublicRemoves the method that was assigned to the WakeMainThread variable by HookSynchronizeWakeup.
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
UpdateActionpublicGenerates an OnActionUpdate event.
UpdatedprotectedClears the csUpdating state in the component's ComponentState property when the component finishes updating.
UpdateRegistryprotectedProvides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces.
UpdatingprotectedSets the csUpdating state in the component's ComponentState property.
UseMetropolisUIpublic
UseRightToLeftAlignmentpublicSpecifies whether the application object is in a right-to-left alignment mode.
UseRightToLeftReadingpublicSpecifies whether the application object is in a right-to-left text mode.
UseRightToLeftScrollBarpublicSpecifies whether the vertical scroll bar appears on the left side controls.
ValidateContainerprotectedDetermines whether an object can be inserted into a container.
ValidateInsertprotectedProvides the interface for a method that validates a child component before it is inserted.
ValidateRenameprotectedEnsures that renaming an owned component does not create a name conflict.
WriteStateprotectedWrites the state of the component.