Translate page

FieldAttribute Method

Gets the attribute 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 FieldAttribute(
	int row,
	int column,
	ref byte attribute
)
Visual Basic (Declaration)
Function FieldAttribute ( _
	row As Integer, _
	column As Integer, _
	ByRef attribute As Byte _
) As StatusCode
Visual C++
StatusCode FieldAttribute(
	int row, 
	int column, 
	unsigned char% attribute
)
JavaScript
function FieldAttribute(row, column, attribute);


Parameters

row
Type: System..Int32
Screen row of the field for which to get the attribute.

column
Type: System..Int32
Screen column of the field for which to get the attribute.

attribute
Type: System..Byte
After successful call will contain the attribute of the specified field. The value is unspecified if the method fails.

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:

Status codeDescription
OkField attribute found successfully.
NotConnectedYour application is not currently connected to a host session.
InvalidPositionInvalid value specified for presentation space position.
SystemErrorThe method failed due to a system error.
NoSuchFieldField attribute not found due to unformatted session presentation space.


See Also


IQWS3270 Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.