|Subject||Re: [IBO] TIB_DateTimeEnh - odd editor behaviour|
> Hello ( Geoff ;-) )Hi Paul,
> IBO 4.7.16, FB 1.5 SQLDialect 1, Enh 2.2.1, D6, short dateNote that IBO provides some defaults of its own for date edit
> format dd/MM/yy
> I have odd behaviour with a TIB_DateTime edit. Clicking the
> calendar drop down and clicking 28 march puts '/28/0307' in
> the display, when the control is exited this goes to '28/03/07'.
> Clicking into the display puts it back to '/28/0307'
> pressing delete gives '/ / |' where '|' is the carret.
> Typing '280307' produces '/28/0307', exiting control goes to
masks and displays - and while these work OK with USA or
non-enhanced mask processing they are not optimal for the
combination of enhanced mask processing in non-USA.
I find an explicit edit mask of:
works very well. For two digit years (if you must) you can
probably modify this to:
with some success. I set these by domain (you could use the
SqlType) in my apps to save bother.
The enhanced mask mode is sort of expected by the enh date
input processing - as this allows fairly intelligent guessing
of partial date inputs.
Please let me know if you can make do with explicit masks.
If not I will have to find some appropriate way to override
the IBO defaults in my TIB_DateTimeEnh control.