AutoWordSelect Property

                  Applies To        

Specifies whether the basic unit used to extend a selection is a word or a single character.

Syntax

object.AutoWordSelect [= Boolean]

The AutoWordSelect property syntax has these parts:

Part Description
object Required. A valid object.
Boolean Optional. Specifies the basic unit used to extend a selection.

Settings

The settings for Boolean are:

Value Description
True Uses a word as the basic unit (default).
False Uses a character as the basic unit.

Remarks

The AutoWordSelect property specifies how the selection extends or contracts in the edit region of a TextBox or ComboBox.

If the user places the insertion point in the middle of a word and then extends the selection while AutoWordSelect is True, the selection includes the entire word.