Skip to content

SelLength Property

Description

Gets or sets the number of characters selected in the edit box.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property SelLength() As Long

Remarks

You can use this property to determine if any characters are currently selected in the edit box control before performing operations on the selected text. You can also use this property to determine the total number of characters (including spaces) that are selected when performing single character tasks in a for loop.

See Also


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