RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMonitor.Width Property

Indicates the horizontal size of the monitor in pixels.

Pascal
property Width: Integer;
C++
__property int Width;

Read Width to learn the size of the monitor in pixels. Use this value along with the Left property to calculate vertical positions for objects in multi-monitor applications.

Note: The Width property does not take into account any task bars or tool bars docked on the monitor. To determine the area on the monitor that is free of such docked windows, use the WorkareaRect property.
 

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