GetSize (Method)
Â
IScreen::GetSize
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)
Dim columns as Long
Dim result as Long
result =-screen.GetSize(rows, columns)
Â