Vcl.Forms.TCustomForm.MakeFullyVisible

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MakeFullyVisible(AMonitor: TMonitor = nil);

C++

void __fastcall MakeFullyVisible(TMonitor* AMonitor = (TMonitor*)(0x0));

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomForm

Description

Ensures that the form is fully visible on a specified monitor.

Call MakeFullyVisible to ensure that the form does not appear split over more than one monitor in a multi-monitor application.

AMonitor is the monitor on which the form should appear. If AMonitor is nil (Delphi) or NULL (C++), MakeFullyVisible uses the Monitor property.

MakeFullyVisible checks whether the form fits entirely on the specified monitor. If not, it repositions the form so that it fits, if possible.

See Also