mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-20 19:39:29 +01:00
LCL: comments
git-svn-id: trunk@24390 -
This commit is contained in:
parent
7f6dc92e94
commit
7d8ef3e279
@ -12,12 +12,14 @@ object SplashForm: TSplashForm
|
||||
ClientWidth = 429
|
||||
FormStyle = fsStayOnTop
|
||||
Position = poScreenCenter
|
||||
LCLVersion = '0.9.29'
|
||||
object Image: TImage
|
||||
Left = 0
|
||||
Height = 341
|
||||
Top = 0
|
||||
Width = 429
|
||||
Align = alClient
|
||||
AutoSize = True
|
||||
OnPaint = ImagePaint
|
||||
Transparent = False
|
||||
end
|
||||
end
|
||||
|
||||
@ -89,13 +89,12 @@ begin
|
||||
|
||||
Image.Picture.LoadFromLazarusResource('splash_logo');
|
||||
|
||||
Application.OnIdle := @ApplicationOnIdle;
|
||||
Application.AddOnIdleHandler(@ApplicationOnIdle);
|
||||
end;
|
||||
|
||||
destructor TSplashForm.Destroy;
|
||||
begin
|
||||
if Application.OnIdle = @ApplicationOnIdle then
|
||||
Application.OnIdle := nil;
|
||||
Application.RemoveOnIdleHandler(@ApplicationOnIdle);
|
||||
|
||||
inherited Destroy;
|
||||
|
||||
|
||||
@ -1867,7 +1867,7 @@ type
|
||||
procedure SetChildZPosition(const AChild: TControl; const APosition: Integer);
|
||||
procedure ShowControl(AControl: TControl); virtual;
|
||||
procedure UpdateControlState;
|
||||
procedure UpdateShowing; virtual; // checks control's handle visibility, called by UpdateControlState and CreateWnd
|
||||
procedure UpdateShowing; virtual; // checks control's handle visibility, called by DoAllAutoSize and UpdateControlState
|
||||
procedure WndProc(var Message: TLMessage); override;
|
||||
procedure WSSetText(const AText: String); virtual;
|
||||
protected
|
||||
|
||||
@ -6000,7 +6000,7 @@ begin
|
||||
if HandleObjectShouldBeVisible then
|
||||
AdjustSize // this will trigger DoAllAutoSize, which calls UpdateShowing
|
||||
else
|
||||
UpdateShowing;
|
||||
UpdateShowing; // hide immediately
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user