Udostępnij za pośrednictwem


Top property

Sets or gets the coordinate of the top edge of the object.

Syntax

Property values

Type: Long

The coordinate of the top edge of the window, in pixels.

Remarks

The WebBrowser object returns the offset of the control in the client area of the browser; InternetExplorer object 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.

See also

InternetExplorer

IWebBrowser2::ClientToWindow

IWebBrowser2::Left