/
VBS_GetSize (Method).
VBS_GetSize (Method).
Get the number of rows and columns for current screen.
Function VBS_GetSize(rows As Variant, columns As Variant) As Long
Parameters
No | Name | Type | Optional | Default | Description |
---|---|---|---|---|---|
1 | rows | 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)
QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.
Related content
VBS_GetSize (Method)
VBS_GetSize (Method)
More like this
GetSize (Method).
GetSize (Method).
More like this
GetSize (Method)
GetSize (Method)
More like this
Screen.GetScreenSize Method
Screen.GetScreenSize Method
More like this
GetScreenSize Method
GetScreenSize Method
More like this
IScreen_GetScreenSize Method
IScreen_GetScreenSize Method
More like this