Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxEdit.SelText Property

Defines the currently selected text.

Syntax

Get

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

Put

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

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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.