Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

 

IScreen::GetSize

Get the number of rows and columns for current screen.

 

Function GetSize(rows As Long, columns As Long) As Long
 

Parameters

NoNameTypeOptionalDefaultDescription
1rowsLongNo-

Number of rows in the screen

2

columns

Long

No

-

Number of columns in the screen

Return Code

Description

JGS_OK

The function was successful

JGS_NOTCONNECTED

Your application is currently not connected to a valid host session

JGS_PARAMETERERROR

Missing or invalid parameter

JGS_SYSERROR

The function failed due to a system error

Sample Code


 

Dim rows as Long
Dim columns as Long
Dim result as Long
result =-screen.GetSize(rows, columns)
 

QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.

  • No labels