Programming with Reflection

image\rwnprg32.gif ExtendSelectionPage method

 

Syntax object.ExtendSelectionPage Direction

 

Description

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

For example, this pair of commands selects all the text starting at the position of the last mouse click and continuing to the end of the screen.

 Session.SetSelectionStartPos rcMouseRow, rcMouseCol

 Session.ExtendSelectionPage rcForward

Arguments

Direction Argument type: Enumeration
Indicates whether text should be selected from the selection start position to the beginning or the end of the page. The values are:

 rcBackward

 Extends the selection to the beginning of the page. The character under the cursor is not included in the selection.

 rcForward

 Extends the selection to the end of the page. The character under the cursor is included in the selection.

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command