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

TApplicationProperties

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

A component that simplifies access to the properties of the current application.

Declaration

Source position: forms.pp line 1629

type TApplicationProperties = class(TLCLComponent) end;

protected

  procedure SetCaptureExceptions();

  procedure SetHelpFile();

  procedure SetHint();

  procedure SetHintColor();

  procedure SetHintHidePause();

  procedure SetHintPause();

  procedure SetHintShortCuts();

  procedure SetHintShortPause();

  procedure SetShowButtonGlyphs();

  procedure SetShowMenuGlyphs();

  procedure SetShowHint();

  procedure SetShowMainForm();

  procedure SetTitle();

  procedure SetOnActivate();

  procedure SetOnDeactivate();

  procedure SetOnException();

  procedure SetOnGetMainFormHandle();

  procedure SetOnIdle();

  procedure SetOnIdleEnd();

  procedure SetOnEndSession();

  procedure SetOnQueryEndSession();

  procedure SetOnMinimize();

  procedure SetOnModalBegin();

  procedure SetOnModalEnd();

  procedure SetOnRestore();

  procedure SetOnDropFiles();

  procedure SetOnHelp();

  procedure SetOnHint();

  procedure SetOnShowHint();

  procedure SetOnUserInput();

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;

published

  property CaptureExceptions: Boolean; [rw]

  property ExceptionDialog: TApplicationExceptionDlg; [rw]

  property HelpFile: string; [rw]

  property Hint: string; [rw]

  property HintColor: TColor; [rw]

  property HintHidePause: Integer; [rw]

  property HintPause: Integer; [rw]

  property HintShortCuts: Boolean; [rw]

  property HintShortPause: Integer; [rw]

  property ShowButtonGlyphs: TApplicationShowGlyphs; [rw]

  property ShowMenuGlyphs: TApplicationShowGlyphs; [rw]

  property ShowHint: Boolean; [rw]

  property ShowMainForm: Boolean; [rw]

  property Title: string; [rw]

  property OnActivate: TNotifyEvent; [rw]

  property OnDeactivate: TNotifyEvent; [rw]

  property OnException: TExceptionEvent; [rw]

  property OnGetMainFormHandle: TGetHandleEvent; [rw]

  property OnIdle: TIdleEvent; [rw]

  property OnIdleEnd: TNotifyEvent; [rw]

  property OnEndSession: TNotifyEvent; [rw]

  property OnQueryEndSession: TQueryEndSessionEvent; [rw]

  property OnMinimize: TNotifyEvent; [rw]

  property OnModalBegin: TNotifyEvent; [rw]

  property OnModalEnd: TNotifyEvent; [rw]

  property OnRestore: TNotifyEvent; [rw]

  property OnDropFiles: TDropFilesEvent; [rw]

  property OnHelp: THelpEvent; [rw]

  property OnHint: TNotifyEvent; [rw]

  property OnShowHint: TShowHintEvent; [rw]

  property OnUserInput: TOnUserInputEvent; [rw]

Inheritance

TApplicationProperties

  

A component that simplifies access to the properties of the current application.

|

TLCLComponent

  

The base class for LCL components associated with widgets.

|

TComponent

?

TObject

Description

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

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