AdjustToRectangle

>>-aTabControl~AdjustToRectangle(--left--,--top--,--right--,--bottom--)-><


The AdjustToRectangle method calculates the window rectangle of a tab control that corresponds to the specified display rectangle.

Arguments:

The arguments are:

left

The x-coordinate of the upper left corner of the display rectangle.

top

The y-coordinate of the upper left corner of the display rectangle.

right

The x-coordinate of the lower right corner of the display rectangle.

bottom

The y-coordinate of the lower right corner of the display rectangle.

Return value:

A string containing the coordinates of the window rectangle, or an empty string. The coordinates are separated by blanks and are in the following order:

  • X-coordinate of the upper left corner of the rectangle

  • Y-coordinate of the upper left corner of the rectangle

  • X-coordinate of the lower right corner of the rectangle

  • Y-coordinate of the lower right corner of the rectangle