remove TApplication.Handle (not cross-platform)

git-svn-id: trunk@7029 -
This commit is contained in:
micha 2005-03-26 11:24:55 +00:00
parent 2cee620ccc
commit e26daffd9e
2 changed files with 3 additions and 14 deletions

View File

@ -886,7 +886,6 @@ type
FApplicationHandlers: array[TApplicationHandlerType] of TMethodList;
FCaptureExceptions: boolean;
FFlags: TApplicationFlags;
FHandle : THandle;
FHint: string;
FHintColor: TColor;
FHintControl: TControl;
@ -970,7 +969,6 @@ type
procedure ReleaseComponent(AComponent: TComponent);
function ExecuteAction(ExeAction: TBasicAction): Boolean; override;
function UpdateAction(TheAction: TBasicAction): Boolean; override;
function HandleAllocated: boolean;
procedure HandleException(Sender: TObject); override;
procedure HandleMessage;
function HelpCommand(Command: Word; Data: Longint): Boolean;
@ -1026,7 +1024,6 @@ type
procedure DoTabKey(AControl: TWinControl; var Key: Word;Shift: TShiftState);
property CaptureExceptions: boolean read FCaptureExceptions
write SetCaptureExceptions;
property Handle: THandle read FHandle;
//property HelpSystem : IHelpSystem read FHelpSystem;
property Hint: string read FHint write SetHint;
property HintColor: TColor read FHintColor write SetHintColor;

View File

@ -77,7 +77,6 @@ begin
FMainForm := nil;
FMouseControl := nil;
FHandle := 0;
FHintColor := DefHintColor;
FHintPause := DefHintPause;
FHintShortCuts := True;
@ -1449,21 +1448,14 @@ begin
if Assigned(FOnActionUpdate) then FOnActionUpdate(TheAction,Result);
end;
{------------------------------------------------------------------------------
function TApplication.HandleAllocated: boolean;
Checks if Handle is allocated.
------------------------------------------------------------------------------}
function TApplication.HandleAllocated: boolean;
begin
Result:=FHandle<>0;
end;
// included by forms.pp
{ =============================================================================
$Log$
Revision 1.112 2005/03/26 11:24:55 micha
remove TApplication.Handle (not cross-platform)
Revision 1.111 2005/03/25 08:58:11 micha
implement ShowInTaskBar for win32 intf