Translate page

IQWS3270.FieldTextSet Method


Sets the text of the field at the specified position.

Namespace:  JollyGiant.Emulation
Assembly:  JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
StatusCode FieldTextSet(
	int row,
	int column,
	string fieldText
)
Visual Basic (Declaration)
Function FieldTextSet ( _
	row As Integer, _
	column As Integer, _
	fieldText As String _
) As StatusCode
Visual C++
StatusCode FieldTextSet(
	int row, 
	int column, 
	String^ fieldText
)
JavaScript
function FieldTextSet(row, column, fieldText);


Parameters

row
Type: System...Int32
Screen row of the field.

column
Type: System...Int32
Screen column of the field.

fieldText
Type: System...String
Text to copy into the field.

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:

Status codeDescription
OkThe string was copied successfully.
NotConnectedYour application is not currently connected to a host session.
ParameterErrorYou attempted to copy a zero-length string.
KeyboardLockedThe specified field is protected, or you attempted to copy invalid data (such as a field attribute).
DataTruncatedThe string was copied successfully, but one or more characters were truncated.
InvalidPositionThe specified presentation space position was invalid.
SystemErrorThe method failed due to a system error.
NoSuchFieldThe presentation space is unformatted.


See Also


IQWS3270 Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.