SftBox/OCX 4.5

SftBoxEdit.Text Property

Softel vdm, Inc.

Defines the edit control portion's text contents.

Syntax       

Get

VB.NET

Text = object.Text  As String

VB

Text = object.Text  As String

C#.NET

string Text = object.Text;

VC++

_bstr_t Text = object->Text;
_bstr_t Text = object->GetText();

C

HRESULT object->get_Text(BSTR* Text);

Delphi

Text := object.Text   : WideString;

Put

VB.NET

object.Text = Text  As String

VB

object.Text = Text  As String

C#.NET

string object.Text = Text;

VC++

_bstr_t object->Text = Text;
void object->PutText(_bstr_t Text);

C

HRESULT object->put_Text(BSTR Text);

Delphi

object.Text := Text   : WideString;

object

A SftBoxEdit object.

Text

Defines the edit control portion's text contents.

Comments

The Text property defines the edit control portion's text contents.

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

In a drop down list combo box, the Text property contains the text of the currently selected item (its first displayed column). In this case the property cannot be updated.

The Edit.SelText property defines the currently selected text of the edit control portion.


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