GET_MAINCOORDINATE
|
Syntax: |
GET_MAINCOORDINATE(<Type>) <Type> = <NUM-EXPRESSION> |
||||||||||||||||
|
Meaning: |
Returns the pixel position of the main window
on screen or the coordinates of the borders of the mask area of the main
window in rows and columns. GET_MAINCOODINATE(-1)
and GET_MAINCOODINATE(-2) returns as results the pixel position of the upper
left corner of the main window on screen. GET_MAINCOODINATE(1) always returns 1 (1st
row). GET_MAINCOORDINATE(2) returns the
Y-coordinate of the bottom border of the mask area of the main window. The returned value is at least <Number of
rows of main window> +1 because the next row begins at the bottom border.
The returned value, however, can also be bigger than <Number of rows of
main window> +1 if the main window is higher than necessary for the display.
GET_MAINCOORDINATE(3) returns the
X-coordinate of the left border of the mask area of the main window. This
value may be negative if the mask is displayed centered in the main window. GET_MAINCOORDINATE(<otherwise>) returns
the X-coordinate of the right border of the main window. The returned value
is at least <Number of columns of the main window> +1 because the next
column begins at the right border. The returned value, however, may also be
bigger than <Number of columns of main window> +1 if the main window is
wider than necessary for the display. In
Html Programs GET_MAINCOORDINATE refers to the browser
window. |
||||||||||||||||
|
Parameter: |
|
||||||||||||||||
|
Sample: |
HEIGHT = GET_MAINCOODINATE(2) WIDTH = GET_MAINCOODINATE(4) |
||||||||||||||||
|
See also: |
|