SelStart Property (AComboBox)

Returns or sets the starting point of the selected text and the insertion point in the edit area of the object. 

Syntax

Object.SelStart [ = lSetStart ]

The SelStart property syntax has the following parts:

 

Name

Type

Description

Object

AComboBox

AComboBox control

lSetStart

Long

An integer specifying the starting point of the selected text and the insertion point in the edit area of the object.

Comments

The valid range of settings is 0 to the text length. The default is zero, which means nothing is selected.

This property is available at run time only.

Example

The following statement changes the starting point of the selected text and the insertion point to be one:

cb1.SelStart=1

Applies to

AComboBox

See Also

SelLength, SelText