HeaderPane
Main
Hide
Share Link
Print

ShowClearButton Property, SftDate Object

Defines whether a button that clears the field is shown.

Syntax

Get

C#bool Boolean = object.ShowClearButton;
VB.NETBoolean = object.ShowClearButton As Boolean
C++VARIANT_BOOL Boolean = object->ShowClearButton;
VARIANT_BOOL Boolean = object->GetShowClearButton();
CHRESULT object->get_ShowClearButton(VARIANT_BOOL* Boolean);

Put

C#bool object.ShowClearButton = Boolean;
VB.NETobject.ShowClearButton = Boolean As Boolean
C++VARIANT_BOOL object->ShowClearButton = Boolean;
void object->PutShowClearButton(VARIANT_BOOL Boolean);
CHRESULT object->put_ShowClearButton(VARIANT_BOOL Boolean);

object

A SftDate object.

Boolean

Defines whether a button that clears the field is shown.

Comments

The ShowClearButton property defines whether a date field control shows a Clear button (an x) in front of its other buttons. The default is False. p The button appears while the field has a value and is enabled. Clicking it empties the field if it allows an empty value (AllowEmpty), after the ValueValidating event; otherwise it clears the check box (ShowCheckBox). p The Clear button of the dropdown calendar is defined using Calendar.ShowClearButton.

See Also SftDate Object | Object Hierarchy | Values


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