TApplication
Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TBaseObject | A base class for objects that can be used instead of TObject . |
3 | TApplication |
Source
Application.pas (54)
Description
TApplication
sets up the basic components that are needed for an application that supports a
graphical user interface. By default MainWindow
will be created as an empty window. Descendant classes
are responsible for adding TControl
descendants to this window as appropriate for the specific application.
An application can be started by calling Run
. This function executes an event loop that handles
and dispatches events in response to user input and other user interface events. The loop is terminated whenever an event is
received that indicates the application should be closed. Such an event can be the result of the user clicking the close-button
of the main window.
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | protected | TPagedPanel | FExplorerTarget | |
Instance | protected | TControlFactory | FControlFactory | |
Instance | protected | TObjectActionFactory | ObjectActionFactory | |
Instance | protected | TWindowsClipBoard | ClipBoard | |
Instance | protected | TWindowsMouseManager | MouseManager | |
Instance | protected | TKeyboardFocusManager | FocusManager | |
Instance | protected | THotKeyManager | HotKeyManager | |
Instance | protected | TControlNavigationManager | NavigationManager | |
Instance | protected | TDragAndDropManager | DragAndDropManager | |
Instance | protected | TPositiveInteger32 | ThreadIdentifier | |
Instance | protected | TWindowsEventQueue | EventQueue | |
Instance | protected | TCharacterCodePoint | SurrogatePairStart | |
Instance | public | TWindow | MainWindow | |
Type | public | TApplication | Instance |