SftBox/OCX 4.5

SftBoxEdit.SelText Property

Softel vdm, Inc.

Defines the currently selected text.

Syntax       

Get

VB.NET

Text = object.SelText  As String

VB

Text = object.SelText  As String

C#.NET

string Text = object.SelText;

VC++

_bstr_t Text = object->SelText;
_bstr_t Text = object->GetSelText();

C

HRESULT object->get_SelText(BSTR* Text);

Delphi

Text := object.SelText   : WideString;

Put

VB.NET

object.SelText = Text  As String

VB

object.SelText = Text  As String

C#.NET

string object.SelText = Text;

VC++

_bstr_t object->SelText = Text;
void object->PutSelText(_bstr_t Text);

C

HRESULT object->put_SelText(BSTR Text);

Delphi

object.SelText := Text   : WideString;

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.


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com