Navigation: Scripting Reference Manual > Functions & Subroutines > SetTextPosition

 

SetTextPosition

 

Contact Us: fredsupport@photonengr.com

 

Description

Resets the output window printing position to a particular cell.

 

Syntax

SetTextPosition row, col

 

Parameters

row As Long

The row where FRED starts printing.

 

col As Long

The column where FRED starts printing.

 

Remarks

This subroutine resets the output window printing position to a particular cell. It does not set an error. row and col should always at least 1. If either is 0 or less FRED automatically resets the text position to the first row or first column or both, depending on the values. If, for example, you entered


SetTextPosition -10, 2
 

FRED would set the text position to be row 1, column 2.

 

See Also

GetTextPosition

FindTextString

EnableTextPrinting

Examples

 

 

 

 

 

Copyright © Photon Engineering, LLC