TimeOfDayTextBox and DurationTextBox Control
Back
There are two types of time: time of day and duration. The time of day reflects
a 24 hour period and users use two formats to enter it: 12 or 24 hour. The duration
reflects a length of time. Users also use two formats to enter it: HH:MM:SS or decimal
(3:30 or 3.5).
Peter's Date and Time offers separate TextBox controls for each of these types of
time: TimeOfDayTextBox and DurationTextBox. Both have extensive features to make
data entry easy and familiar.
Product Features
Here are the defaults for both textboxes to use while reviewing these features.
Data Entry in the TextBox
Popup TimePicker
You can add a PopupTimePicker to assist the user in selecting a time from a fixed
list.
You can even make the textbox ReadOnly so the user must use the TimePicker or arrow
buttons to assign the time value.
Add the UnselectableTimesValidator to report errors when the user does not pick
a time found in the TimePicker or from a time interval rule (such as on 30 minute
increments).
Other Features
Back
|