Programming with Reflection

image\rwnprg32.gif ExtendSelection method

 

Syntax object.ExtendSelection Row, Column

 

Description

Selects all text in the terminal window between the selection start position (or row 1, column 1, if there is no selection start position) and the specified coordinates. To set the selection start position, use the SetSelectionStartPos method or click with the mouse in the terminal window.

This method returns a block of text shaped like this:

image\block1.gif

The ExtendSelectionRect method returns a rectangular block of text between the starting and ending row, resulting in a block of text shaped like this:

image\block2.gif

Arguments

Row Argument type: Integer
The row in which the selection is to end. You can use rcMouseRow to specify the row where the mouse was last clicked.

Column Argument type: Integer
The column in which the selection is to end. You can use rcMouseCol to specify the column where the mouse was last clicked.

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command