Dear developers!
I use TMaskEdit to edit dates in my project (see attached project).
When I set 'SET DATE GERMAN' (it is usual format in Russia) and clear
TMaskEdit value
(select all and press DELETE or select Clear from context menu), it becomes
totally empty.
After this I have problems to enter new date (just try to type 8 digits).
When I do not set 'SET DATE GERMAN' and clear TMaskEdit value, it becomes
empty with '/' delimiters
( / / ). In this case I have no problems to enter new date.
How can I fix this different behavior?
Regards, Oleg
Attached files test75.zip (1.8 KB)Â
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Date editing in TMaskEdit
Date editing in TMaskEdit
Dear developers,
I have the same problem. The control doesn't accept the '.' (decimal point).
i.e. with the date 02.10.2008
1. input 02 ->'02'
2. input the point //nothing
input 1 then '02.0'
Regards
Ingo
"Oleg" <info@cluster.samara.ru> schrieb im Newsbeitrag
news:48e4c7e3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> I use TMaskEdit to edit dates in my project (see attached project).
> When I set 'SET DATE GERMAN' (it is usual format in Russia) and clear
> TMaskEdit value
> (select all and press DELETE or select Clear from context menu), it
> becomes totally empty.
> After this I have problems to enter new date (just try to type 8 digits).
>
> When I do not set 'SET DATE GERMAN' and clear TMaskEdit value, it becomes
> empty with '/' delimiters
> ( / / ). In this case I have no problems to enter new date.
>
> How can I fix this different behavior?
>
> Regards, Oleg
>
>
I have the same problem. The control doesn't accept the '.' (decimal point).
i.e. with the date 02.10.2008
1. input 02 ->'02'
2. input the point //nothing
input 1 then '02.0'
Regards
Ingo
"Oleg" <info@cluster.samara.ru> schrieb im Newsbeitrag
news:48e4c7e3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> I use TMaskEdit to edit dates in my project (see attached project).
> When I set 'SET DATE GERMAN' (it is usual format in Russia) and clear
> TMaskEdit value
> (select all and press DELETE or select Clear from context menu), it
> becomes totally empty.
> After this I have problems to enter new date (just try to type 8 digits).
>
> When I do not set 'SET DATE GERMAN' and clear TMaskEdit value, it becomes
> empty with '/' delimiters
> ( / / ). In this case I have no problems to enter new date.
>
> How can I fix this different behavior?
>
> Regards, Oleg
>
>
Date editing in TMaskEdit
Dear developers,
I have the same problem. The control doesn't accept the '.' (decimal point).
i.e. with the date 02.10.2008
1. input 02 ->'02'
2. input the point //nothing
input 1 then '02.0'
Regards
Ingo
"Oleg" <info@cluster.samara.ru> schrieb im Newsbeitrag
news:48e4c7e3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> I use TMaskEdit to edit dates in my project (see attached project).
> When I set 'SET DATE GERMAN' (it is usual format in Russia) and clear
> TMaskEdit value
> (select all and press DELETE or select Clear from context menu), it
> becomes totally empty.
> After this I have problems to enter new date (just try to type 8 digits).
>
> When I do not set 'SET DATE GERMAN' and clear TMaskEdit value, it becomes
> empty with '/' delimiters
> ( / / ). In this case I have no problems to enter new date.
>
> How can I fix this different behavior?
>
> Regards, Oleg
>
>
I have the same problem. The control doesn't accept the '.' (decimal point).
i.e. with the date 02.10.2008
1. input 02 ->'02'
2. input the point //nothing
input 1 then '02.0'
Regards
Ingo
"Oleg" <info@cluster.samara.ru> schrieb im Newsbeitrag
news:48e4c7e3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> I use TMaskEdit to edit dates in my project (see attached project).
> When I set 'SET DATE GERMAN' (it is usual format in Russia) and clear
> TMaskEdit value
> (select all and press DELETE or select Clear from context menu), it
> becomes totally empty.
> After this I have problems to enter new date (just try to type 8 digits).
>
> When I do not set 'SET DATE GERMAN' and clear TMaskEdit value, it becomes
> empty with '/' delimiters
> ( / / ). In this case I have no problems to enter new date.
>
> How can I fix this different behavior?
>
> Regards, Oleg
>
>
Date editing in TMaskEdit
Hi all!
I found that my problem can be worked around by this method
METHOD MaskEdit1Change( oSender ) CLASS TForm3
if empty(::oMaskEdit1:cText)
::oMaskEdit1:SetValue( ::oMaskEdit1:GetValue() )
endif
RETURN Nil
But I think that this problem must be fixed in Xailer's sources somehow.
Regards, Oleg
I found that my problem can be worked around by this method
METHOD MaskEdit1Change( oSender ) CLASS TForm3
if empty(::oMaskEdit1:cText)
::oMaskEdit1:SetValue( ::oMaskEdit1:GetValue() )
endif
RETURN Nil
But I think that this problem must be fixed in Xailer's sources somehow.
Regards, Oleg
Date editing in TMaskEdit
Hi all!
I found that my problem can be worked around by this method
METHOD MaskEdit1Change( oSender ) CLASS TForm3
if empty(::oMaskEdit1:cText)
::oMaskEdit1:SetValue( ::oMaskEdit1:GetValue() )
endif
RETURN Nil
But I think that this problem must be fixed in Xailer's sources somehow.
Regards, Oleg
I found that my problem can be worked around by this method
METHOD MaskEdit1Change( oSender ) CLASS TForm3
if empty(::oMaskEdit1:cText)
::oMaskEdit1:SetValue( ::oMaskEdit1:GetValue() )
endif
RETURN Nil
But I think that this problem must be fixed in Xailer's sources somehow.
Regards, Oleg
- ignacio
- Site Admin
- Mensajes: 9440
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Date editing in TMaskEdit
Oleg,
Fixed. It will be available on next Xailer release.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:48e4c7e3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> I use TMaskEdit to edit dates in my project (see attached project).
> When I set 'SET DATE GERMAN' (it is usual format in Russia) and clear
> TMaskEdit value
> (select all and press DELETE or select Clear from context menu), it
> becomes totally empty.
> After this I have problems to enter new date (just try to type 8 digits).
>
> When I do not set 'SET DATE GERMAN' and clear TMaskEdit value, it becomes
> empty with '/' delimiters
> ( / / ). In this case I have no problems to enter new date.
>
> How can I fix this different behavior?
>
> Regards, Oleg
>
>
Fixed. It will be available on next Xailer release.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:48e4c7e3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> I use TMaskEdit to edit dates in my project (see attached project).
> When I set 'SET DATE GERMAN' (it is usual format in Russia) and clear
> TMaskEdit value
> (select all and press DELETE or select Clear from context menu), it
> becomes totally empty.
> After this I have problems to enter new date (just try to type 8 digits).
>
> When I do not set 'SET DATE GERMAN' and clear TMaskEdit value, it becomes
> empty with '/' delimiters
> ( / / ). In this case I have no problems to enter new date.
>
> How can I fix this different behavior?
>
> Regards, Oleg
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Date editing in TMaskEdit
Oleg,
Fixed. It will be available on next Xailer release.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:48e4c7e3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> I use TMaskEdit to edit dates in my project (see attached project).
> When I set 'SET DATE GERMAN' (it is usual format in Russia) and clear
> TMaskEdit value
> (select all and press DELETE or select Clear from context menu), it
> becomes totally empty.
> After this I have problems to enter new date (just try to type 8 digits).
>
> When I do not set 'SET DATE GERMAN' and clear TMaskEdit value, it becomes
> empty with '/' delimiters
> ( / / ). In this case I have no problems to enter new date.
>
> How can I fix this different behavior?
>
> Regards, Oleg
>
>
Fixed. It will be available on next Xailer release.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:48e4c7e3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> I use TMaskEdit to edit dates in my project (see attached project).
> When I set 'SET DATE GERMAN' (it is usual format in Russia) and clear
> TMaskEdit value
> (select all and press DELETE or select Clear from context menu), it
> becomes totally empty.
> After this I have problems to enter new date (just try to type 8 digits).
>
> When I do not set 'SET DATE GERMAN' and clear TMaskEdit value, it becomes
> empty with '/' delimiters
> ( / / ). In this case I have no problems to enter new date.
>
> How can I fix this different behavior?
>
> Regards, Oleg
>
>