Select Method

Available with host type: A M V

Applies to Objects: Area, Screen

Description

For the Area object, the method selects the object. For the Screen object, the method selects the area defined by the coordinates and returns an Area object.

Area Syntax:object.Select

Element

Description

object

The Area object.

Screen Syntax

Set rc = object.Select(StartRow,StartCol,EndRow,EndCol[,Page][,SelectMode])

Element

Description

Set

The Set statement, required for assigning an object reference to a variable.

rc

The object variable for referencing the returned object.

object

The Screen object.

StartRow

The row where the selection begins.

StartCol

The column where the selection begins.

EndRow

The row where the selection ends.

EndCol

The column where the selection ends.

Page

VT session only -- the screen page.

SelectMode

The type of selection (or no selection). Use one of the constants listed below.

Comments

The following SelectMode constants indicate the selection type. The default value is select_stream.

Constant

Selection Type

select_none

Selects nothing.

select_block

Selects the block defined by the StartRow, StartCol, EndRow, and/or EndCol parameters.

select_stream

Selects the host data stream.