Type: Real
Availability: Read or write at run time only
The scaleTop property of the Window class contains the vertical coordinates for the top edges of an object when using graphics methods or when positioning child controls. It also determines the units returned during the mouseDown, mouseHover, mouseLeave, mouseUp, and mouseMove events for the form or control. Use this property with the scaleLeft property to create a custom coordinate scale for drawing or positioning controls.
Use the scaleMode property to define a scale based on a standard unit of measurement; for example, twips, points, or pixels. Setting the scaleTop property interacts with the scaleMode property in the following ways.
Setting any other scale property to any value automatically sets the scaleMode property to ScaleMode_User (1).
Setting the scaleMode property to a number other than ScaleMode_User (1) changes the scaleHeight and scaleWidth properties to the new unit of measurement and sets the scaleLeft and scaleTop properties to 0.
The scaleTop property is not the same as the top property.