Programming with Reflection

image\rwnprg32.gif SelectText method

 

Syntax object.SelectText StartRow, StartCol, EndRow, EndCol, [SelectionType]

 

Description

Selects a region of display memory.

To reset the current selection (if any exists), call this method with StartRow larger than EndRow, or StartCol larger than EndCol. For example, SelectText 1, 1, 0, 0.

Arguments

StartRow Argument Type: Integer
Required
Specifies the row in display memory where the selection starts. The row is specified in host addressable coordinates.

StartCol Argument Type: Integer
Required
Specifies the column where the selection starts.

EndRow Argument Type: Integer
Required
Specifies the row where the selection ends.

EndCol Argument Type: Integer
Required
Specifies the column where the selection ends.

SelectionType Argument Type: Enumeration
Optional
Specifies how the selection is to be made. The possible values are:

 rcRectRegion

 This option indicates that the text selected should be a "rectangular" region; for example:

 The bold text in this sentence will be
selected if rc
RectRegion is specified.

 rcWrappedRegion

 The default is to select a wrapped region; for example:

 The bold text in this sentence will be
selected if rcWrappedRegion i
s specified.

 The default option is rcWrappedRegion.

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command