Top Property
Sets or gets the coordinate of the top edge of the object.
Syntax
object.Top(lTop) [ = lTop ]
Possible Values
lTop Long that specifies or receives the coordinate of the top edge of the window, in pixels. The property is read/write. The property has no default value.
Remarks
The WebBrowser object returns the offset of the control in the client area of the browser; InternetExplorer returns the screen coordinates of the browser frame.
The values for this property change as the object is moved by the user or by code. The position of the object changes by setting this property.
Applies To
InternetExplorer, WebBrowser
See Also