Screen Object

image\validfor_amv.gif

Description

Provides access to the contents of the host screen's presentation space.

Properties

Methods

Application

Area

PasteContinue

Col

ClearScreen

PutString

Cols

Copy

Search

InHiddenField

CopyAppend

Select

Name

Cut

SelectAll

OIA

CutAppend

SendInput

Page

Delete

SendKeys

Parent

FieldAttribute

WaitForCursor

Row

GetString

WaitForCursorMove

Rows

HostOptions

WaitForKeys

Selection

MoveRelative

WaitForStream

Synchronous

MoveTo

WaitForString

Updated

Paste

WaitHostQuiet

Comments

You can retrieve a Screen object with the Screen property of the Session object. For example, as shown in the following code, the Screen object is returned and assigned to the object variable SessionScreen.

Dim ses As Object, SessionScreen As Object
Set ses = GetObject("Sess1.Ses")
Set SessionScreen = ses.Screen

To access the presentation space with a Screen object, you must know the exact number of rows and columns that an emulated terminal provides. For example, if a session emulates a terminal supporting 24 rows by 80 columns, you can reference presentation space positions from row 1, column 1 to row 24, column 80. For VT sessions, you can also specify the page.