Method VCrt():setOrigin() Foundation
Sets or retrieves the position of a VCrt object.
Syntax
:setOrigin( [<nRow>], [<nCol>] ) --> aOldOrigin
Parameters
<nRow>
<nRow> is an optional numeric value specifying the new upper screen row for the display of the VCrt object.
<nCol>
<nCol> is an optional numeric value specifying the new left screen column for the display of the VCrt object.
Return
The method returns an array with two numeric values. They indicate the position of the upper left corner of a VCrt object, which is the origin of the coordinate system.
Description
The method :setOrigin() is used to determine or to change the position of a VCrt object.
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.