## Editing Date Data

Date data is defined by specifying three date values in the form of Mon, Day, Year, or by entering the data for each subset of the date individually. Changes in either editor are immediately reflected in the other editor.

You may provide maximum and minimum dates which the user may enter, as well as specifying the starting value for the field.

#### Editing Date Data

1. Select an object in a UI Design which contains date data.

The object will display a bounding rectangle with squares at its corners and midpoints.

2. Display the Properties view.

The properties of the selected object are displayed.

3. Optional: Click on the [+] tree control to the left of the name of any date field which you wish to modify (if the field is not already disclosed).

The date, maximum date, and minimum date subfields will be displayed.

4. Optional: Click on the [+] tree control to the left of the name of any date, maximum date, and minimum date subfields which you wish to modify (if the field is not already disclosed).

The day, month, and year subfields will be displayed, as shown in Figure 1.

Figure 1 - A date field with all of its subfields disclosed for editing.

NOTE Some fields will display descriptive text in the Carbide.c++ status pane when they are selected.

5. Edit the value of any date, maximum date, minimum date, day, month*, and/or year subfields using standard edit field operations.

You may cut, copy and paste any values which are legal for the field.

NOTE *The month subfield provides an enumerated type editor. You cannot type or paste data into that subfield.

NOTE Monitor the Carbide.c++ status pane as you enter data for any reported errors.

6. Press the Tab key, click the mouse in another area of the Properties view to select a different field for editing, or click in any other view.

If the value you entered is legal for this field, it will be accepted.

##### Related tasks

- Editing Array Properties
- Editing Color Data
- Editing Control Button Arrays
- Editing Enumerated Data
- Editing Image Property Data
- Editing Location/Size Data
- Editing Numeric Data
- Editing String List Data
- Editing Text Data
- Editing Time Data
- Restoring Default Values

##### Related references

- Properties View