ScaleTop Property
Object List Next Object
Defined By: Form
Definition:
Determines the vertical coordinate for the top edge of a form. The default is
0. Often used in combination with ScaleLeft property, which determines the
horizontal coordinate for the left edge of a form.
Details:
Using this property and the related ScaleTop, ScaleHeight, and ScaleWidth
properties, you can create a coordinate system complete with both positive and
negative coordinates for printing and drawing operations.
The settings of the four "Scale" properties and ScaleMode directly affect one
another. Specifically, setting the ScaleMode to any number greater than 0 sets
ScaleLeft and ScaleTop to 0. It also changes ScaleHeight and ScaleWidth to the
new unit of measurement, and changes the Current X and Current Y settings to
reflect the new coordinates of the current point. Setting any scale property
automatically sets ScaleMode to 0.
To set the four scale properties in one only statement, you can use the Scale
method.
Note: Do not confuse the ScaleTop property with the Top property; they are not the
same.
Data Type: Single
See Also:
DrawMode , DrawStyle properties; FillColor property; ForeColor property; Scale Method properties; Scale Method, ScaleLeft, ScaleTop properties