I've been experimenting with date fields in dialogues and have found what I
think is an anomaly. As I understand it, a date field is intended to hold a
single date in its model. This can be viewed when the dialogue is displayed.
Apart from initialising it within the editor, there are at least three ways
of setting this field : 

1) by setting its Text property within a macro
2) by setting its Date property within a macro
3) by typing a date into the field.

However, if one uses (1), the Date property is not changed, if one uses (2)
the Text property is not changed, and if one uses (3) both properties are
changed. Surely both properties should follow the displayed view of the
field, however it is modified. Is this designed, or a bug?

It's only a problem if you try to set the property one way and read it the
other, so a workaround is possible.





-----
Peter
--
View this message in context: 
http://nabble.documentfoundation.org/Issues-with-date-fields-in-dialogues-tp4204266.html
Sent from the Users mailing list archive at Nabble.com.

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to