HeaderPane
Main
Hide
Share Link
Print

AllowEmpty Property, SftDate Object

Defines whether the field can be empty.

Syntax

Get

C#bool Boolean = object.AllowEmpty;
VB.NETBoolean = object.AllowEmpty As Boolean
C++VARIANT_BOOL Boolean = object->AllowEmpty;
VARIANT_BOOL Boolean = object->GetAllowEmpty();
CHRESULT object->get_AllowEmpty(VARIANT_BOOL* Boolean);

Put

C#bool object.AllowEmpty = Boolean;
VB.NETobject.AllowEmpty = Boolean As Boolean
C++VARIANT_BOOL object->AllowEmpty = Boolean;
void object->PutAllowEmpty(VARIANT_BOOL Boolean);
CHRESULT object->put_AllowEmpty(VARIANT_BOOL Boolean);

object

A SftDate object.

Boolean

Defines whether the field can be empty.

Comments

The AllowEmpty property defines whether a date field control can be empty. The default is False: the field always has a value. p An empty field shows its placeholder text (PlaceholderText) and its Value is Null. The user empties the field by deleting all parts, by deleting the text in free-form editing, using the Clear button (ShowClearButton) or the Clear button of the dropdown calendar (Calendar.ShowClearButton); the application by setting Value to Null. p An empty field that no longer allows an empty value shows its last value again. The check box (ShowCheckBox) is the other way of letting a field have no value.

See Also SftDate Object | Object Hierarchy | Values


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