Purpose

.GetScreenSize() is a method to retrieve the size of the PROIV Client.

Object Type

Session

Syntax

Variable = SESSION.GetScreenSize((#Rows,#Columns)

Elements:

Variable is an alphanumeric variable
#Rows
- upper and lower limits of  2 – 125
#Columns
- upper and lower limits of 10 – 250

Remarks

Resizing can occur anywhere in logic, but will only take effect when the next top-level (i.e. not Global) function is run.

Examples

To get the screen size and store the values in #ROWS and #COLUMNS:

SESSION.GetScreenSize(#ROWS,#COLUMNS)

For a further example of this method, see the @DemoClientResize function in the PROIV Demo.

Comment on this topic

Topic ID: 510109