GetSize (Method).
Get the number of rows and columns for current screen.
Function GetSize(rows As Long, columns As Long) As Long
Parameters
No | Name | Type | Optional | Default | Description |
---|---|---|---|---|---|
1 | rows | Long | No | - | 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.