RAD Studio VCL Reference
TCustomForm.MakeFullyVisible Method

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

procedure MakeFullyVisible(AMonitor: TMonitor = nil);
__fastcall MakeFullyVisible(TMonitor AMonitor = nil);

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!