Defines the buttons shown in the field.
Get
| C# | SftDateButtonsConstants Buttons = object.Buttons; |
| VB.NET | Buttons = object.Buttons As SftDateButtonsConstants |
| C++ | enum SftDateButtonsConstants Buttons = object->Buttons; enum SftDateButtonsConstants Buttons = object->GetButtons(); |
| C | HRESULT object->get_Buttons(enum SftDateButtonsConstants* Buttons); |
Put
| C# | SftDateButtonsConstants object.Buttons = Buttons; |
| VB.NET | object.Buttons = Buttons As SftDateButtonsConstants |
| C++ | enum SftDateButtonsConstants object->Buttons = Buttons; void object->PutButtons(enum SftDateButtonsConstants Buttons); |
| C | HRESULT object->put_Buttons(enum SftDateButtonsConstants Buttons); |
object
Buttons
Defines the buttons shown in the field.
| Name | Value | Description |
|---|---|---|
| buttonsSftDateDropDown | 0 | Dropdown button |
| buttonsSftDateUpDown | 1 | Spin buttons |
| buttonsSftDateDropDownAndUpDown | 2 | Dropdown and spin buttons |
| buttonsSftDateNone | 3 | No buttons |
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