Home News DOC Class DL Others Rice
Class  >  browser  >  Top
browser class : Top getter

Description

Returns the position of the browser's top edge on the desktop screen.

Syntax

instance.Top

Arguments

None.

Return value

ClassDescription
realThe position of the browser's top edge

Sample code

1:

window w;

2:

browser b = w.CurrentBrowser;

3:

real top = b.Top;

Notes

The return value is the device independent pixel.

Links for reference

None.

Copyright © Rice All rights reserved.