Set rc = object.Area(StartRow,StartCol,EndRow,EndCol[,Page][,Type])
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.
Type Determines how the coordinates of the Area object (top, left, bottom, right) are interpreted when the object is selected.
Set MyArea = MyScreen.Area(1,1,80,24 , ,)
The Type parameter accepts the following values.
Value Meaning
3 or xBLOCK The Area is selected as a rectangular range of characters. There is no line wrapping. This is the default.
2 or xSTREAM The Area is selected as a continuous stream of characters, from the top left coordinate to the bottom right coordinate. If the Area consists of more than one line, then the selection wraps to the right of each line.