Translate page

QWS3270.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#
public StatusCode FieldTextSet(
	int row,
	int column,
	string fieldText
)
Visual Basic (Declaration)
Public Function FieldTextSet ( _
	row As Integer, _
	column As Integer, _
	fieldText As String _
) As StatusCode
Visual C++
public:
virtual StatusCode FieldTextSet(
	int row, 
	int column, 
	String^ fieldText
) sealed
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.


Implements

IQWS3270.FieldTextSet(Int32, Int32, String)

See Also


QWS3270 Class
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.