Skip to content

SelLength Property

Description

Gets or sets the number of characters selected in the editable portion of the combo box.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property SelLength() As Long

Remarks

You can use this property to determine whether any characters are currently selected in the combo box control before performing operations on the selected text. When the value of the SelLength property is set to a value that is larger than the number of characters within the text of the control, the value of the SelLength property is set to the entire length of text within the control minus the value of the SelStart property (if any value is specified for the SelLength property).

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.