HeaderPane
Main
Hide
Share Link
Print

Text Property, SftDate Object

Defines the field's text.

Syntax

Get

C#string String = object.Text;
VB.NETString = object.Text As String
C++_bstr_t String = object->Text;
_bstr_t String = object->GetText();
CHRESULT object->get_Text(BSTR* String);

Put

C#string object.Text = String;
VB.NETobject.Text = String As String
C++_bstr_t object->Text = String;
void object->PutText(_bstr_t String);
CHRESULT object->put_Text(BSTR String);

object

A SftDate object.

String

Defines the field's text.

Comments

The Text property defines the text of a date field control. Reading it returns the text the field shows, as formatted using the Format property; the text of an empty field is an empty string. p Setting it parses the text as text typed in free-form editing: the TextParsing event lets the application parse it first, then the control parses it in the format of the field, leniently in the formats of the culture, and the texts "=Today", "=Yesterday", "=Tomorrow" and "=Now". The value is not validated (ValueValidating). A text that cannot be parsed causes an error.

See Also SftDate Object | Object Hierarchy | Editing


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