Translate page

QWS3270.FieldTextGet Method

Gets the text of the field at the specified cursor position.

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

Syntax

C#
public StatusCode FieldTextGet(
	int row,
	int column,
	ref string fieldText,
	int toCopy
)
Visual Basic (Declaration)
Public Function FieldTextGet ( _
	row As Integer, _
	column As Integer, _
	ByRef fieldText As String, _
	toCopy As Integer _
) As StatusCode
Visual C++
public:
virtual StatusCode FieldTextGet(
	int row, 
	int column, 
	String^% fieldText, 
	int toCopy
) sealed
JavaScript
function FieldTextGet(row, column, fieldText, toCopy);


Parameters

row
Type: System.Int32
Row position of the field.

column
Type: System.Int32
Column position of the field.

fieldText
Type: System.String
Buffer for the field text.

toCopy
Type: System.Int32
Number of characters to copy.

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:

Status codeDescription
OkThe specified field was copied successfully.
NotConnectedYour application is not currently connected to a host session.
ParameterErrorOne or more call parameters are invalid.
DataTruncatedThe specified field was copied, but the data to be copied and the length of the field were not the same size. If the value specified in toCopy is smaller than the specified field, the data is truncated.
InvalidPositionThe specified presentation space position is invalid.
SystemErrorThe method failed due to a system error.
NoSuchFieldThe presentation space is unformatted.


Implements

IQWS3270.FieldTextGet(Int32, Int32, String, Int32)

See Also


QWS3270 Class
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.