RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.MakeFullyVisible Method

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

Pascal
procedure MakeFullyVisible(AMonitor: TMonitor = nil);
C++
__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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!