Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


 

Background Color
coloryellow
IScreen::GetSize


Get the number of rows and columns for current screen.

 

Background Color
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


 

Background Color
colorYellow
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.