HeaderPane
Main
Hide
Share Link
Print

Buttons Property, SftDate Object

Defines the buttons shown in the field.

Syntax

Get

C#SftDateButtonsConstants Buttons = object.Buttons;
VB.NETButtons = object.Buttons As SftDateButtonsConstants
C++enum SftDateButtonsConstants Buttons = object->Buttons;
enum SftDateButtonsConstants Buttons = object->GetButtons();
CHRESULT object->get_Buttons(enum SftDateButtonsConstants* Buttons);

Put

C#SftDateButtonsConstants object.Buttons = Buttons;
VB.NETobject.Buttons = Buttons As SftDateButtonsConstants
C++enum SftDateButtonsConstants object->Buttons = Buttons;
void object->PutButtons(enum SftDateButtonsConstants Buttons);
CHRESULT object->put_Buttons(enum SftDateButtonsConstants Buttons);

object

A SftDate object.

Buttons

Defines the buttons shown in the field.

NameValueDescription
buttonsSftDateDropDown0Dropdown button
buttonsSftDateUpDown1Spin buttons
buttonsSftDateDropDownAndUpDown2Dropdown and spin buttons
buttonsSftDateNone3No buttons

Comments

The Buttons property defines the buttons of a date field control. The default is buttonsSftDateDropDown. p With buttonsSftDateNone, the dropdown still opens using Alt+Down, F4 or the OpenDropDown method. With buttonsSftDateUpDown, the field has no dropdown. The up/down buttons repeat while they are held down; the Up and Down arrow keys do the same. p The Clear button is defined using ShowClearButton, the check box using ShowCheckBox.

See Also SftDate Object | Object Hierarchy | Field Components


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