Hi Andrew,

> I need to retract that statement about a date control's text property 
> returning a short date formatted string. I really thought it did, and I 
> think maybe it did at one time (  may be totally wrong on that also ) 
> but under 2.0.3 and OOD680_m1 it does not. It returns a null string. I 
> shouldn't be surprised as the API documentation states that the TEXT 
> property for a unoUnoControlDateFieldModel is OPTIONAL!

"Optional" just means that it might not be present. If it's present, it
must behave as specified, so the NULL string looks suspicious to me ...

Of course the Text property is not the best way to retrieve the date, as
its formatting depends on the control setting (in opposite to the Date
property), but that's another question ...

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Database                   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to