Classes

Method XbpDialog():calcClientRect() Foundation

Returns the inside dimensions of a dialog window.

Syntax
:calcClientRect( <aFrameRect> ) --> aClientRect
Parameters
<aFrameRect> := { nX, nY, nXsize, nYsize }
<aFrameRect> is an array containing four elements that describes the outside dimensions of a dialog window. The values for nX and nY can be determined using the method :currentPos() and the values for nXsize and nYsize can be determined using the :currentSize()method.
Return

This method returns an array containing four elements that describes the inside dimensions of a dialog window.

Description

The method :calcClientRect() calculates the inner dimension of a dialog window. This is usually the size of the drawing area (:drawingArea) of the XbpDialog window, unless the size of the drawing area is explicitly changed in a program. The calculation is based on the outside dimensions of the window that are passed. The outside dimensions include the size of title bar and frame.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.