/
VBS_GetSize (Method)
Translate page

VBS_GetSize (Method)


 

IScreen::VBS_GetSize

Get the number of rows and columns for current screen.

 

Function VBS_GetSize(rows As Variant, columns As Variant) As Long
 


Parameters

NoNameTypeOptionalDefaultDescription
1rows

Variant

No-

Number of rows in the screen

2

columns

Variant

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 Variant
Dim columns as Variant
Dim result as Long
result =-screen.VBS_GetSize(rows, columns)

 


Back to IScreen members


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

Â