mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 15:37:51 +02:00
TCustomForm: MakeFullyVisible should use WorkAreaRect as default (sensible and also Delphi-compatible)
This commit is contained in:
parent
cbafa07331
commit
5f82f6ba31
@ -661,7 +661,7 @@ type
|
||||
procedure IntfDropFiles(const FileNames: array of String);
|
||||
procedure IntfHelp(AComponent: TComponent);
|
||||
function IsShortcut(var Message: TLMKey): boolean; virtual;
|
||||
procedure MakeFullyVisible(AMonitor: TMonitor = nil; UseWorkarea: Boolean = False);
|
||||
procedure MakeFullyVisible(AMonitor: TMonitor = nil; UseWorkarea: Boolean = True);
|
||||
function AutoSizeDelayedHandle: Boolean; override;
|
||||
procedure GetPreferredSize(var PreferredWidth, PreferredHeight: integer;
|
||||
Raw: boolean = false;
|
||||
|
@ -2575,7 +2575,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TCustomForm.MakeFullyVisible(AMonitor: TMonitor; UseWorkarea: Boolean = False);
|
||||
procedure TCustomForm.MakeFullyVisible(AMonitor: TMonitor; UseWorkarea: Boolean);
|
||||
var
|
||||
newLeft, newTop, WindowWidth, WindowHeight: Integer;
|
||||
ABounds: TRect;
|
||||
|
Loading…
Reference in New Issue
Block a user