uiform dateentry - part-cw/lambdanative GitHub Wiki
(dateentry . args)
The uiform dateentry element creates a date entry field with a format of YYYY-MM-DD.
Parameter | Default | Description |
---|---|---|
id | #f | Variable to store entered string in |
location | 'db | Dateentry variable storage location |
text | "" | Label string |
indent | 0.1 if no label text, or 0.3 with label text | Indent from left edge of screen (in units of uiform width) |
indentright | 0.1 | Indentation from right edge of screen (in units of uiform width) |
align | left | Text alignment (center, left, right) |
Example
Example 1: A complete page definition with date entry
(birth-date
"Birth Date"
#f
#f
(label text "Date of Birth:")
(spacer)
(dateentry text "" indent 0.4 id birth_date)
(spacer)
)