Translate page

QWS3270.RowColumnToPosition_Method


Converts a position in row/column format to a 1-based position in the presentation space. The converted position ranges from 1 to the size of the presentation space.

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

Syntax

C#
public bool RowColumnToPosition(
	int row,
	int column,
	Object sessionID,
	out int position
)
Visual Basic (Declaration)
Public Function RowColumnToPosition ( _
	row As Integer, _
	column As Integer, _
	sessionID As Object, _
	<OutAttribute> ByRef position As Integer _
) As Boolean
Visual C++
public:
virtual bool RowColumnToPosition(
	int row, 
	int column, 
	Object^ sessionID, 
	[OutAttribute] int% position
) sealed
JavaScript
function RowColumnToPosition(row, column, sessionID, position);


Parameters

row
Type: System..Int32
Row of the position to convert.

column
Type: System..Int32
Column of the position to convert.

sessionID
Type: System..Object
The sessionID for which to convert the row/column position.

position
Type: System...Int32
The converted 1-based presentation space position.

Return Value

true if the position is valid and could be successfully converted to a presentation space position, otherwise false.

Implements

IQWS3270..::.RowColumnToPosition(Int32, Int32, Object, Int32%)

Remarks

The screen position to be converted consists of a row and column. The row must be between 1 and the number of rows in the presentation space. The column must be between 1 and the number of columns in the presentation space. The default number of rows is 24, the default number of columns is 80.

The converted presentation space position is 1-based, and ranges from 1 to the size of the presentation space.

See Also


QWS3270 Class
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.