HeaderPane
Main
Hide
Share Link
Print

SftBoxEdit.SelText Property

Defines the currently selected text.

Syntax

Get

C#string Text = object.SelText;
VB.NETText = object.SelText As String
C++_bstr_t Text = object->SelText;
_bstr_t Text = object->GetSelText();
CHRESULT object->get_SelText(BSTR* Text);
VBText = object.SelText As String

Put

C#string object.SelText = Text;
VB.NETobject.SelText = Text As String
C++_bstr_t object->SelText = Text;
void object->PutSelText(_bstr_t Text);
CHRESULT object->put_SelText(BSTR Text);
VBobject.SelText = Text As String

object

A SftBoxEdit object.

Text

Defines the currently selected text in the edit control portion.

Comments

The SelText property defines the currently selected text.

The SelText property contains the currently selected text in the edit control portion of a simple or drop down combo box. The selected text can be replaced by assigning a new text value to the SelText property.

The Edit.Text property defines the complete contents of the edit control portion.

The methods Edit.GetSelection and Edit.SetSelection can be used to retrieve or set the position of the selection.

This property cannot be used with a drop down list combo box.

See Also SftBoxEdit Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.