DateTimePicker.setShowUpDown

Overview | Methods | This Package | All Packages

DateTimePicker.setShowUpDown

Sets a boolean value indicating whether the control allows the user to select a date by displaying an up/down arrow to the right of the control or whether the control enables the user to display a drop-down calendar in which to select a date.

Syntax

public final void setShowUpDown( boolean b )

Parameters

b

Set to true if the control is displayed as an edit control containing date and time fields that the user can set using an up/down arrow; set to false if the control is displayed as an edit control with an attached drop-down month calendar in which the user can select a date. The default value is false.

See Also   getShowUpDown