SelectionState

 

Type

 

enum SelectionState (Read-Only)

 

Description

 

Reflects the current state of text selection.

 

0 - NoSelection

1 - SelectionInProgress

2 - SelectionPresent

 

Example

 

REM What is the current selection state?

MySelStateHolder = WebsterPro1.SelectionState

 

Remarks

 

The SelectionInProgress state indicates that the user has pressed the left mouse button while over the rendering area (and possibly dragged the mouse), but does not guarantee that any text has actually been selected. During this state the SelectionLength property may still be zero, indicating that no text has yet been selected.

 

Use the SelectText method to programmatically select a range of text.