04-24-2013 06:22 AM
According to the docs:
If created in Field.EDITABLE mode, each supported part acts as a focus position and can be edited. The text values behave like a ChoiceField (eg. months, weekdays). The numeric portions behave a bit like a choice field, a bit like an edit field: ALT+roll increases or decreases the value as with a choice field; typing appends the new digit and throws away as many digits at the start as it must to make the number valid again.
Mine don't appear to work that way, though. If I type '12' to get the 12th of the month it will first selected '1', and then '2' so I end up with a date of 2 January instead of 12 January.
I'm constructing the field as below:
_date = new DateField("", _expenseItem.get_date(), DateField.DATE | Field.EDITABLE); vfmGenDet.add(_date);
Looking at the native Calendar application you're able to type '12' to get '12', but not in my field - what am I doing wrong?