Method XbpCrt():setSize() Foundation

Changes the size of the XbpCrt window.

Syntax
:setSize( <aSize> ) --> lSuccess
Parameters
<aSize> := { nXsize, nYsize }
<aSize> is an array containing the new dimensions of the window in the x and y directions (width and height).
Return

This method returns the value .T. (true) if the size of the XbpCrt window is changed, otherwise .F. (false) is returned.

Description

The method :setSize() changes the size of the XbpCrt window. The maximum size is determined by the values of :maxRow and :maxCol specified when the XbpCrt window is created. The current size is determined using the :currentSize() method.

On the Windows platform, the size of XbpCrt windows cannot be changed via the :setSize() method. Instead, the size of the window is defined by the size of the implicit text buffer. The initial size of the text buffer is specified in :create() and can be changed via either :configure() or SetMode(). Calling :setSize() has no effect on the Windows operating system and the method always returns the value .F. (FALSE).

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.