Specifies the distance between the top edge of a control or form and its container object. Available at design time and run time.
Syntax
Object.Top[ = nValue]
Settings
nValue
Specifies the distance between the top edge of an object or form and the top edge of its container object.
The default container for a form is the main Visual FoxPro window.
Remarks
The Top property specifies how far from the object's zero position the object is located. For example, if a form is contained within the Visual FoxPro main window, the zero position is immediately below the system menu, or if a toolbar is docked to the top of the main window, immediately below the toolbar.
Use the Left and Top and the Height and Width properties for operations based on an object's external dimensions, such as moving or resizing.
Note The Top property is read-only when it applies to a control contained in a Column object.
The unit of measurement used by the Top property is determined by the control's ScaleMode property setting.