InfoConnect for Unisys VBA Guide
PutText1 Function (UtsScreen)
Text to put on screen.
Row position on which to put the text.
Column position on which to put the text.
Number of byte positions available for the text.
Puts text at the specified screen location.
Syntax
object.PutText1( _
   ByVal text As String, _
   ByVal row As Long, _
   ByVal column As Long, _
   ByVal length As Long _
) As ReturnCode

Parameters

text
Text to put on screen.
row
Row position on which to put the text.
column
Column position on which to put the text.
length
Number of byte positions available for the text.

Return Value

ReturnCode indicates success, failure, or a warning condition if the cursor position reaches the screen boundary.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException This exception is thrown if the row or column parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
Remarks
If the text string is longer than "length", or an overwrite of protected data is attempted then the text is truncated.
See Also

 

 


2015 Attachmate

Send Feedback