Klasse TApplication

BeschreibungHierarchieFelderMethodenEigenschaften

Unit

Deklaration

type TApplication = class(TCustomApplication)

Beschreibung

Hierarchie

Übersicht

Methoden

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure ControlDestroyed(AControl: TControl);
Public procedure BringToFront;
Public procedure CreateForm(InstanceClass: TComponentClass; out Reference);
Public procedure UpdateMainForm(AForm: TForm);
Public procedure QueueAsyncCall(AMethod: TDataEvent; Data: PtrInt);
Public procedure ReleaseComponent(AComponent: TComponent);
Public function ExecuteAction(ExeAction: TBasicAction): Boolean; override;
Public function UpdateAction(TheAction: TBasicAction): Boolean; override;
Public procedure HandleException(Sender: TObject); override;
Public procedure HandleMessage;
Public function HelpContext(Sender: TObject; const Position: TPoint; Context: THelpContext): Boolean;
Public function HelpContext(Context: THelpContext): Boolean;
Public function HelpKeyword(Sender: TObject; const Position: TPoint; const Keyword: String): Boolean;
Public function HelpKeyword(const Keyword: String): Boolean;
Public procedure ShowHelpForObjecct(Sender: TObject);
Public procedure HideAllFormsWithStayOnTop;
Public function IsWaiting: boolean;
Public procedure CancelHint;
Public procedure HideHint;
Public procedure HintMouseMessage(Control : TControl; var AMessage: TLMessage);
Public procedure Initialize; override;
Public function MessageBox(Text, Caption: PChar; Flags: Longint): Integer;
Public procedure Minimize;
Public procedure Restore;
Public procedure Notification(AComponent: TComponent; Operation: TOperation); override;
Public Procedure ProcessMessages;
Public Procedure Idle(Wait: Boolean);
Public procedure Run;
Public procedure ShowException(E: Exception); override;
Public procedure Terminate; override;
Public procedure DisableIdleHandler;
Public procedure EnableIdleHandler;
Public procedure NotifyUserInputHandler(Msg: Cardinal);
Public procedure NotifyKeyDownBeforeHandler(Sender: TObject; var Key: Word; Shift: TShiftState);
Public procedure NotifyKeyDownHandler(Sender: TObject; var Key: Word; Shift: TShiftState);
Public procedure ControlKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
Public procedure ControlKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState);
Public procedure AddOnIdleHandler(Handler: TNotifyEvent; AsLast: Boolean=true);
Public procedure RemoveOnIdleHandler(Handler: TNotifyEvent);
Public procedure AddOnIdleEndHandler(Handler: TNotifyEvent; AsLast: Boolean=true);
Public procedure RemoveOnIdleEndHandler(Handler: TNotifyEvent);
Public procedure AddOnUserInputHandler(Handler: TOnUserInputEvent; AsLast: Boolean=true);
Public procedure RemoveOnUserInputHandler(Handler: TOnUserInputEvent);
Public procedure AddOnKeyDownBeforeHandler(Handler: TKeyEvent; AsLast: Boolean=true);
Public procedure RemoveOnKeyDownBeforeHandler(Handler: TKeyEvent);
Public procedure AddOnKeyDownHandler(Handler: TKeyEvent; AsLast: Boolean=true);
Public procedure RemoveOnKeyDownHandler(Handler: TKeyEvent);
Public procedure AddOnActivateHandler(Handler: TNotifyEvent; AsLast: Boolean=true);
Public procedure RemoveOnActivateHandler(Handler: TNotifyEvent);
Public procedure AddOnDeactivateHandler(Handler: TNotifyEvent; AsLast: Boolean=true);
Public procedure RemoveOnDeactivateHandler(Handler: TNotifyEvent);
Public procedure RemoveAllHandlersOfObject(AnObject: TObject); virtual;
Public procedure DoBeforeMouseMessage(CurMouseControl: TControl);
Public function IsShortcut(var Message: TLMKey): boolean;
Public procedure IntfQueryEndSession(var Cancel : Boolean);
Public procedure IntfEndSession;
Public procedure IntfAppMinimize;
Public procedure IntfAppRestore;
Public procedure DoEscapeKey(AControl: TWinControl; var Key: Word; Shift: TShiftState);
Public procedure DoReturnKey(AControl: TWinControl; var Key: Word; Shift: TShiftState);
Public procedure DoTabKey(AControl: TWinControl; var Key: Word;Shift: TShiftState);

Eigenschaften

Public property Icon: TIcon read FIcon write SetIcon;
Public property Active: boolean read GetActive;
Public property CaptureExceptions: boolean read FCaptureExceptions write SetCaptureExceptions;
Public property FindGlobalComponentEnabled: boolean read FFindGlobalComponentEnabled write FFindGlobalComponentEnabled;
Public property Flags: TApplicationFlags read FFlags write SetFlags;
Public property Hint: string read FHint write SetHint;
Public property HintColor: TColor read FHintColor write SetHintColor;
Public property HintHidePause: Integer read FHintHidePause write FHintHidePause;
Public property HintHidePausePerChar: Integer read FHintHidePausePerChar write FHintHidePausePerChar;
Public property HintPause: Integer read FHintPause write FHintPause;
Public property HintShortCuts: Boolean read FHintShortCuts write FHintShortCuts;
Public property HintShortPause: Integer read FHintShortPause write FHintShortPause;
Public property Navigation: TApplicationNavigationOptions read FNavigation write SetNavigation;
Public property MainForm: TForm read FMainForm;
Public property OnActionExecute: TActionEvent read FOnActionExecute write FOnActionExecute;
Public property OnActionUpdate: TActionEvent read FOnActionUpdate write FOnActionUpdate;
Public property OnActivate: TNotifyEvent read FOnActivate write FOnActivate;
Public property OnDeactivate: TNotifyEvent read FOnDeactivate write FOnDeactivate;
Public property OnIdle: TIdleEvent read FOnIdle write FOnIdle;
Public property OnIdleEnd: TNotifyEvent read FOnIdleEnd write FOnIdleEnd;
Public property OnEndSession: TNotifyEvent read FOnEndSession write FOnEndSession;
Public property OnQueryEndSession: TQueryEndSessionEvent read FOnQueryEndSession write FOnQueryEndSession;
Public property OnMinimize: TNotifyEvent read FOnMinimize write FOnMinimize;
Public property OnRestore: TNotifyEvent read FOnRestore write FOnRestore;
Public property OnHelp: THelpEvent read FOnHelp write FOnHelp;
Public property OnHint: TNotifyEvent read FOnHint write FOnHint;
Public property OnShortcut: TShortcutEvent read FOnShortcut write FOnShortcut;
Public property OnShowHint: TShowHintEvent read FOnShowHint write FOnShowHint;
Public property OnUserInput: TOnUserInputEvent read FOnUserInput write FOnUserInput;
Public property OnDestroy: TNotifyEvent read FOnDestroy write FOnDestroy;
Public property ShowHint: Boolean read FShowHint write SetShowHint;
Public property ShowMainForm: Boolean read FShowMainForm write FShowMainForm default true;
Public property Title: String read GetTitle write SetTitle;
Public property ApplicationType : TApplicationType read FApplicationType write FApplicationType;

Beschreibung

Methoden

Public constructor Create(AOwner: TComponent); override;
 
Public destructor Destroy; override;
 
Public procedure ControlDestroyed(AControl: TControl);
 
Public procedure BringToFront;
 
Public procedure CreateForm(InstanceClass: TComponentClass; out Reference);
 
Public procedure UpdateMainForm(AForm: TForm);
 
Public procedure QueueAsyncCall(AMethod: TDataEvent; Data: PtrInt);
 
Public procedure ReleaseComponent(AComponent: TComponent);
 
Public function ExecuteAction(ExeAction: TBasicAction): Boolean; override;
 
Public function UpdateAction(TheAction: TBasicAction): Boolean; override;
 
Public procedure HandleException(Sender: TObject); override;
 
Public procedure HandleMessage;
 
Public function HelpContext(Sender: TObject; const Position: TPoint; Context: THelpContext): Boolean;
 
Public function HelpContext(Context: THelpContext): Boolean;
 
Public function HelpKeyword(Sender: TObject; const Position: TPoint; const Keyword: String): Boolean;
 
Public function HelpKeyword(const Keyword: String): Boolean;
 
Public procedure ShowHelpForObjecct(Sender: TObject);
 
Public procedure HideAllFormsWithStayOnTop;
 
Public function IsWaiting: boolean;
 
Public procedure CancelHint;
 
Public procedure HideHint;
 
Public procedure HintMouseMessage(Control : TControl; var AMessage: TLMessage);
 
Public procedure Initialize; override;
 
Public function MessageBox(Text, Caption: PChar; Flags: Longint): Integer;
 
Public procedure Minimize;
 
Public procedure Restore;
 
Public procedure Notification(AComponent: TComponent; Operation: TOperation); override;
 
Public Procedure ProcessMessages;
 
Public Procedure Idle(Wait: Boolean);
 
Public procedure Run;
 
Public procedure ShowException(E: Exception); override;
 
Public procedure Terminate; override;
 
Public procedure DisableIdleHandler;
 
Public procedure EnableIdleHandler;
 
Public procedure NotifyUserInputHandler(Msg: Cardinal);
 
Public procedure NotifyKeyDownBeforeHandler(Sender: TObject; var Key: Word; Shift: TShiftState);
 
Public procedure NotifyKeyDownHandler(Sender: TObject; var Key: Word; Shift: TShiftState);
 
Public procedure ControlKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
 
Public procedure ControlKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState);
 
Public procedure AddOnIdleHandler(Handler: TNotifyEvent; AsLast: Boolean=true);
 
Public procedure RemoveOnIdleHandler(Handler: TNotifyEvent);
 
Public procedure AddOnIdleEndHandler(Handler: TNotifyEvent; AsLast: Boolean=true);
 
Public procedure RemoveOnIdleEndHandler(Handler: TNotifyEvent);
 
Public procedure AddOnUserInputHandler(Handler: TOnUserInputEvent; AsLast: Boolean=true);
 
Public procedure RemoveOnUserInputHandler(Handler: TOnUserInputEvent);
 
Public procedure AddOnKeyDownBeforeHandler(Handler: TKeyEvent; AsLast: Boolean=true);
 
Public procedure RemoveOnKeyDownBeforeHandler(Handler: TKeyEvent);
 
Public procedure AddOnKeyDownHandler(Handler: TKeyEvent; AsLast: Boolean=true);
 
Public procedure RemoveOnKeyDownHandler(Handler: TKeyEvent);
 
Public procedure AddOnActivateHandler(Handler: TNotifyEvent; AsLast: Boolean=true);
 
Public procedure RemoveOnActivateHandler(Handler: TNotifyEvent);
 
Public procedure AddOnDeactivateHandler(Handler: TNotifyEvent; AsLast: Boolean=true);
 
Public procedure RemoveOnDeactivateHandler(Handler: TNotifyEvent);
 
Public procedure RemoveAllHandlersOfObject(AnObject: TObject); virtual;
 
Public procedure DoBeforeMouseMessage(CurMouseControl: TControl);
 
Public function IsShortcut(var Message: TLMKey): boolean;
 
Public procedure IntfQueryEndSession(var Cancel : Boolean);
 
Public procedure IntfEndSession;
 
Public procedure IntfAppMinimize;
 
Public procedure IntfAppRestore;
 
Public procedure DoEscapeKey(AControl: TWinControl; var Key: Word; Shift: TShiftState);
 
Public procedure DoReturnKey(AControl: TWinControl; var Key: Word; Shift: TShiftState);
 
Public procedure DoTabKey(AControl: TWinControl; var Key: Word;Shift: TShiftState);
 

Eigenschaften

Public property Icon: TIcon read FIcon write SetIcon;
 
Public property Active: boolean read GetActive;
 
Public property CaptureExceptions: boolean read FCaptureExceptions write SetCaptureExceptions;
 
Public property FindGlobalComponentEnabled: boolean read FFindGlobalComponentEnabled write FFindGlobalComponentEnabled;
 
Public property Flags: TApplicationFlags read FFlags write SetFlags;
 
Public property Hint: string read FHint write SetHint;
 
Public property HintColor: TColor read FHintColor write SetHintColor;
 
Public property HintHidePause: Integer read FHintHidePause write FHintHidePause;
 
Public property HintHidePausePerChar: Integer read FHintHidePausePerChar write FHintHidePausePerChar;
 
Public property HintPause: Integer read FHintPause write FHintPause;
 
Public property HintShortCuts: Boolean read FHintShortCuts write FHintShortCuts;
 
Public property HintShortPause: Integer read FHintShortPause write FHintShortPause;
 
Public property Navigation: TApplicationNavigationOptions read FNavigation write SetNavigation;
 
Public property MainForm: TForm read FMainForm;
 
Public property OnActionExecute: TActionEvent read FOnActionExecute write FOnActionExecute;
 
Public property OnActionUpdate: TActionEvent read FOnActionUpdate write FOnActionUpdate;
 
Public property OnActivate: TNotifyEvent read FOnActivate write FOnActivate;
 
Public property OnDeactivate: TNotifyEvent read FOnDeactivate write FOnDeactivate;
 
Public property OnIdle: TIdleEvent read FOnIdle write FOnIdle;
 
Public property OnIdleEnd: TNotifyEvent read FOnIdleEnd write FOnIdleEnd;
 
Public property OnEndSession: TNotifyEvent read FOnEndSession write FOnEndSession;
 
Public property OnQueryEndSession: TQueryEndSessionEvent read FOnQueryEndSession write FOnQueryEndSession;
 
Public property OnMinimize: TNotifyEvent read FOnMinimize write FOnMinimize;
 
Public property OnRestore: TNotifyEvent read FOnRestore write FOnRestore;
 
Public property OnHelp: THelpEvent read FOnHelp write FOnHelp;
 
Public property OnHint: TNotifyEvent read FOnHint write FOnHint;
 
Public property OnShortcut: TShortcutEvent read FOnShortcut write FOnShortcut;
 
Public property OnShowHint: TShowHintEvent read FOnShowHint write FOnShowHint;
 
Public property OnUserInput: TOnUserInputEvent read FOnUserInput write FOnUserInput;
 
Public property OnDestroy: TNotifyEvent read FOnDestroy write FOnDestroy;
 
Public property ShowHint: Boolean read FShowHint write SetShowHint;
 
Public property ShowMainForm: Boolean read FShowMainForm write FShowMainForm default true;
 
Public property Title: String read GetTitle write SetTitle;
 
Public property ApplicationType : TApplicationType read FApplicationType write FApplicationType;
 

Erstellt mit PasDoc 0.10.0 am 2007-03-27 23:02:57