[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Forms' (#lcl)

# TApplicationProperties

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TApplicationProperties: The properties of the current application

## Declaration

Source position: forms.pp line 1461

`type TApplicationProperties = class(TLCLComponent)`
`protected`
`procedure SetCaptureExceptions();` |  | SetCaptureExceptions - specifies whether exceptions are to be captured
`procedure SetHelpFile();` |  | SetHelpFile - specifies which file is to be used for Help messages
`procedure SetHint();` |  | SetHint - specifies the text for a Hint
`procedure SetHintColor();` |  | SetHintColor - specifies the colour for displaying hints
`procedure SetHintHidePause();` |  | SetHintHidePause - specifies the length of pause before a hint becomes hidden
`procedure SetHintPause();` |  | SetHintPause - specifies the length of pause before a hint is displayed
`procedure SetHintShortCuts();` |  | SetHintShortCuts - specifies whether hints are to be displayed for Shortcut keys
`procedure SetHintShortPause();` |  | SetHintShortPause - specifies the length of pause before a shortcut key hint is displayed
`procedure SetShowButtonGlyphs();`
`procedure SetShowMenuGlyphs();`
`procedure SetShowHint();` |  | SetShowHint - specifies whether hints are to be displayed
`procedure SetShowMainForm();` |  |
`procedure SetTitle();` |  | SetTitle - specifies the title for the Form
`procedure SetOnException();` |  | SetOnException - specifies the event handler for exceptions
`procedure SetOnIdle();` |  | SetOnIdle - specifies the handler for Idle events
`procedure SetOnIdleEnd();` |  | SetOnIdleEnd - specifies the handler to notify the end of an idle period
`procedure SetOnEndSession();` |  | SetOnEndSession - specifies the event handler to notify the end of a session
`procedure SetOnQueryEndSession();` |  | SetOnQueryEndSession - specify the event handler for a query at the end of a session
`procedure SetOnMinimize();` |  | SetOnMinimize - specify the event handler for minimising the application form
`procedure SetOnModalBegin();`
`procedure SetOnModalEnd();`
`procedure SetOnRestore();` |  | SetOnRestore - specify the event handler for restoring the application's form
`procedure SetOnDropFiles();` |  | SetOnDropFiles - specify the event handler for dropping files
`procedure SetOnHelp();` |  | SetOnHelp - specify the event handler for help requests
`procedure SetOnHint();` |  | SetOnHint - specify the event handler for a request to show hints
`procedure SetOnShowHint();` |  | SetOnShowHint - specify the event handler for showing hints
`procedure SetOnUserInput();` |  | SetOnUserInput - specify the event handler for dealing with User input
`public`
`constructor Create(); override;` |  | Create - constructor for TApplicationProperties: calls inherited Create, then sets some defaults if new application is being designed, or loads local values from existing application
`destructor Destroy; override;` |  | Destroy - destructor for TApplicationProperties: removes a number of handlers then calls inherited Destroy
`published`
`property CaptureExceptions: Boolean; [rw]` |  | CaptureExceptions - Determine whether exceptions are being captured
`property HelpFile: String; [rw]` |  | HelpFile - Determines which file to use for Help
`property Hint: String; [rw]` |  | Hint - Determines Hint to be used
`property HintColor: TColor; [rw]` |  | HintColor - Colour to be used when displaying Hint
`property HintHidePause: Integer; [rw]` |  | HintHidePause - the length of pause before a hint becomes hidden
`property HintPause: Integer; [rw]` |  | HintPause - the length of pause before a hint is displayed
`property HintShortCuts: Boolean; [rw]` |  | HintShortCuts - the hints for shortcut keys (present if True)
`property HintShortPause: Integer; [rw]` |  | HintShortPause - the length of pause before a shortcut hint is displayed
`property ShowButtonGlyphs: TApplicationShowGlyphs; [rw]` |  | ShowButtonGlyphs - determines whether to show show or not glyphs on TBitBtn controls
`property ShowMenuGlyphs: TApplicationShowGlyphs; [rw]` |  | ShowMenuGlyphs - Deturmines whether show or not glyphs in menu
`property ShowHint: Boolean; [rw]` |  | ShowHint - Determines whether a hint is to be displayed
`property ShowMainForm: Boolean; [rw]` |  | ShowMainForm - Determines whether main form is to be displayed
`property Title: String; [rw]` |  | Title to be shown in Application's top Border
`property OnException: TExceptionEvent; [rw]` |  | OnException - Event handler for exceptions
`property OnIdle: TIdleEvent; [rw]` |  | OnIdle - event handler for the Idle state
`property OnIdleEnd: TNotifyEvent; [rw]` |  | OnIdleEnd - event handler for the end of the Idle state
`property OnEndSession: TNotifyEvent; [rw]` |  | OnEndSession - Event handler for the end of the session
`property OnQueryEndSession: TQueryEndSessionEvent; [rw]` |  | OnQueryEndSession - Event handler for a query at the end of a session
`property OnMinimize: TNotifyEvent; [rw]` |  | OnMinimize - Event handler for minimising the form
`property OnModalBegin: TNotifyEvent; [rw]`
`property OnModalEnd: TNotifyEvent; [rw]`
`property OnRestore: TNotifyEvent; [rw]` |  | OnRestore - Event handler for restoring a form which has been minimised or maximised
`property OnDropFiles: TDropFilesEvent; [rw]` |  | OnDropFiles - Event handler when files are dropped on the form
`property OnHelp: THelpEvent; [rw]` |  | OnHelp - Event handler when help is needed
`property OnHint: TNotifyEvent; [rw]` |  | OnHint - Event handler when a hint is needed
`property OnShowHint: TShowHintEvent; [rw]` |  | OnShowHint - Event handler for showing a hint
`property OnUserInput: TOnUserInputEvent; [rw]` |  | OnUserInput - Event handler when user input is received
`end;`

## Inheritance

`TApplicationProperties` |  | TApplicationProperties: The properties of the current application
`TLCLComponent` |  | TLCLComponent - base class for LCL components
`TComponent,IUnknown,IInterfaceComponentReference`
`TPersistent`
`TObject`

## Description

TApplication Properties can be set as a local default set of properties to be used for any new instance fo TApplication

The latest version of this document can be found at lazarus-ccr.sourceforge.net .