DateTimePicker.setShowNone

Overview | Methods | This Package | All Packages

DateTimePicker.setShowNone

Sets a boolean value indicating whether it is possible to have no date selected in the control.

Syntax

public final void setShowNone( boolean b )

Parameters

b

Set to true if it is possible to have no date selected in the control; otherwise, set to false. When the showNone property is set to true, a check box appears to the left of the date. Until this check box is checked, the value of the control is -1, which indicates that no date is selected. The default value is false.

See Also   getShowNone