scroll_to_point


Description:

public bool scroll_to_point (CoordType coords, int x, int y) throws Error

Scrolls whatever container of the Component object so it becomes visible on the screen at a given position.

Parameters:

this

a pointer to the Component object on which to operate.

coords

a CoordType indicating whether the coordinates are relative to the screen, to the window, or to the parent object.

x

the x coordinate of the point to reach

y

the y coordinate of the point to reach

Returns:

TRUE if successful, FALSE otherwise.