Página 1 de 1

Picture problem in TMakeEdit

Publicado: Mié Dic 22, 2010 12:36 pm
por ftwein
Hi,
oMaskEdit1:cPicture:= "@R 9.9.9.99.9999"
Try that with "1", the "." will be in oMaskEdit1:Value.
Please take a look.
Regards,
Fausto

Picture problem in TMakeEdit

Publicado: Mié Dic 22, 2010 4:58 pm
por ignacio
Fausto,
I am afraid is a not Xailer bug, but a xHarbour bug. Try this:
msginfo( transform( "1", "@R 9.9.9.99.9999" ) )
I suggest you use another char separator different than "."
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"F.Trautwein" escribió en el mensaje de
noticias:[email=4d11e2d1@svctag-j7w3v3j....]4d11e2d1@svctag-j7w3v3j....[/email]
Hi,
oMaskEdit1:cPicture:= "@R 9.9.9.99.9999"
Try that with "1", the "." will be in oMaskEdit1:Value.
Please take a look.
Regards,
Fausto

Picture problem in TMakeEdit

Publicado: Mié Dic 22, 2010 5:25 pm
por ftwein
Ignacio,
Thank you for answering, sorry if I am not clear,
I use that picture in a GET command in a text application and it works
fine. Please put a TMaskEdit in a form with that mask and fill it with
any value and you will see that the behavior is not normal even when
typing the number.
In text mode:
sConta:= SPAC(13)
@ 10,10 GET sConta PICT "@R 9.9.9.99.9999"
READ
IF you enter "1" the result will be "1"+SPAC(12).
Now in TMaskEdit if you enter "1" the result will be "1... ."
Regards,
Fausto
Em 22/12/2010 13:58, Ignacio Ortiz de Zúñiga escreveu:
> Fausto,
>
> I am afraid is a not Xailer bug, but a xHarbour bug. Try this:
>
> msginfo( transform( "1", "@R 9.9.9.99.9999" ) )
>
> I suggest you use another char separator different than "."
>
> Regards,
>
> Ignacio Ortiz de Zúñiga

Picture problem in TMakeEdit

Publicado: Jue Dic 23, 2010 10:04 am
por ignacio
Fausto,
I believe I understood you quite well. What I was try to point out is that
the problem is not in Xailer but in xHarbour because the native xHarbour
Transform() function is not working as it should.
That function is the responsible of the complete picture management,
including the xHabour console Get system.
I suggest you make a small program in console mode (without Xailer) and send
it to xHarbour crew so they are able to fix it.
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"F.Trautwein" escribió en el mensaje de
noticias:[email=4d12266f@svctag-j7w3v3j....]4d12266f@svctag-j7w3v3j....[/email]
Ignacio,
Thank you for answering, sorry if I am not clear,
I use that picture in a GET command in a text application and it works
fine. Please put a TMaskEdit in a form with that mask and fill it with
any value and you will see that the behavior is not normal even when
typing the number.
In text mode:
sConta:= SPAC(13)
@ 10,10 GET sConta PICT "@R 9.9.9.99.9999"
READ
IF you enter "1" the result will be "1"+SPAC(12).
Now in TMaskEdit if you enter "1" the result will be "1... ."
Regards,
Fausto
Em 22/12/2010 13:58, Ignacio Ortiz de Zúñiga escreveu:
> Fausto,
>
> I am afraid is a not Xailer bug, but a xHarbour bug. Try this:
>
> msginfo( transform( "1", "@R 9.9.9.99.9999" ) )
>
> I suggest you use another char separator different than "."
>
> Regards,
>
> Ignacio Ortiz de Zúñiga

Picture problem in TMakeEdit

Publicado: Jue Dic 23, 2010 10:08 am
por ignacio
Fausto,
I believe I understood you quite well. What I was trying to point out is
that the bug is on Xharbour and not on Xailer.
The xHarbour native function Tranform() is the responsible of all the
picture management, including the xHarbour Get system. If this fails, then
the Get system fails, and our TMaksedit control fails as well.
I suggest you make a small sample in xHarbour using the native Get system
and without using Xailer at all and send it to the xHarbour crew so they can
give you a fix.
BTW, if you change the "." with any other separator char I believe it will
work.
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"F.Trautwein" escribió en el mensaje de
noticias:[email=4d12266f@svctag-j7w3v3j....]4d12266f@svctag-j7w3v3j....[/email]
Ignacio,
Thank you for answering, sorry if I am not clear,
I use that picture in a GET command in a text application and it works
fine. Please put a TMaskEdit in a form with that mask and fill it with
any value and you will see that the behavior is not normal even when
typing the number.
In text mode:
sConta:= SPAC(13)
@ 10,10 GET sConta PICT "@R 9.9.9.99.9999"
READ
IF you enter "1" the result will be "1"+SPAC(12).
Now in TMaskEdit if you enter "1" the result will be "1... ."
Regards,
Fausto
Em 22/12/2010 13:58, Ignacio Ortiz de Zúñiga escreveu:
> Fausto,
>
> I am afraid is a not Xailer bug, but a xHarbour bug. Try this:
>
> msginfo( transform( "1", "@R 9.9.9.99.9999" ) )
>
> I suggest you use another char separator different than "."
>
> Regards,
>
> Ignacio Ortiz de Zúñiga

Picture problem in TMakeEdit

Publicado: Jue Dic 23, 2010 12:00 pm
por emeasoft
Ignacio,
Este es un error cuando se utiliza sólo cPicture
con los puntos:
::oMaskEdit3:cPicture := "@R 9.9.9.99.9999"
Ya que si usamos esta forma funciona correctamente:
::oMaskEdit2:cPicture := "@R 9.9.9.99.9999-9"
Este problema se ha tratado anteriormente:
http://www.xailer.com/forum/index.php?t ... to=33784&a mp;#msg_33784
http://www.xailer.com/forum/index.php?t ... to=44706&a mp;#msg_44706
Siguiendo el ejemplo.


Attached files testpicture.zip (6.5 KB)Â

Picture problem in TMakeEdit

Publicado: Jue Dic 23, 2010 1:09 pm
por ftwein
Ignacio,
I am trying to understand the problem then I made some tests with the
GET system and the TRANSFORM and they worked.
I created two small samples, one with xharbour in text mode and one with
Xailer. As you said with a picture without "." it works in Xailer, but
in xharbour text mode it works even with ".".
In Xailer with the picture "@R 9.9.9.99.9999" it works the first time
you type a number, if you try to retype a number over the first one it
does not work.
Regards,
Fausto
Em 23/12/2010 07:08, Ignacio Ortiz de Zúñiga escreveu:
> Fausto,
>
> I believe I understood you quite well. What I was trying to point out is
> that the bug is on Xharbour and not on Xailer.
>
> The xHarbour native function Tranform() is the responsible of all the
> picture management, including the xHarbour Get system. If this fails,
> then the Get system fails, and our TMaksedit control fails as well.
>
> I suggest you make a small sample in xHarbour using the native Get
> system and without using Xailer at all and send it to the xHarbour crew
> so they can give you a fix.
>
> BTW, if you change the "." with any other separator char I believe it
> will work.
>
> Regards,
>
>
>
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer / Xailer team]
> http://www.xailer.com
> http://www.xailer.info
> http://www.xailer.com/forum
> http://www.xailer.com/dokuwiki
> "F.Trautwein" escribió en el mensaje de
> noticias:[email=4d12266f@svctag-j7w3v3j....]4d12266f@svctag-j7w3v3j....[/email]
>
> Ignacio,
>
> Thank you for answering, sorry if I am not clear,
>
> I use that picture in a GET command in a text application and it works
> fine. Please put a TMaskEdit in a form with that mask and fill it with
> any value and you will see that the behavior is not normal even when
> typing the number.
>
> In text mode:
> sConta:= SPAC(13)
> @ 10,10 GET sConta PICT "@R 9.9.9.99.9999"
> READ
>
> IF you enter "1" the result will be "1"+SPAC(12).
>
> Now in TMaskEdit if you enter "1" the result will be "1... ."
>
> Regards,
>
> Fausto
>
>
> Em 22/12/2010 13:58, Ignacio Ortiz de Zúñiga escreveu:
>> Fausto,
>>
>> I am afraid is a not Xailer bug, but a xHarbour bug. Try this:
>>
>> msginfo( transform( "1", "@R 9.9.9.99.9999" ) )
>>
>> I suggest you use another char separator different than "."
>>
>> Regards,
>>
>> Ignacio Ortiz de Zúñiga
>
--

Picture problem in TMakeEdit

Publicado: Jue Dic 23, 2010 8:26 pm
por ignacio
Fausto,
I hope we got it fixed. Thanks for your feedback. I include with this
message the OBJ file.
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"F.Trautwein" escribió en el mensaje de
noticias:[email=4d133bff@svctag-j7w3v3j....]4d133bff@svctag-j7w3v3j....[/email]
Ignacio,
I am trying to understand the problem then I made some tests with the
GET system and the TRANSFORM and they worked.
I created two small samples, one with xharbour in text mode and one with
Xailer. As you said with a picture without "." it works in Xailer, but
in xharbour text mode it works even with ".".
In Xailer with the picture "@R 9.9.9.99.9999" it works the first time
you type a number, if you try to retype a number over the first one it
does not work.
Regards,
Fausto
Em 23/12/2010 07:08, Ignacio Ortiz de Zúñiga escreveu:
> Fausto,
>
> I believe I understood you quite well. What I was trying to point out is
> that the bug is on Xharbour and not on Xailer.
>
> The xHarbour native function Tranform() is the responsible of all the
> picture management, including the xHarbour Get system. If this fails,
> then the Get system fails, and our TMaksedit control fails as well.
>
> I suggest you make a small sample in xHarbour using the native Get
> system and without using Xailer at all and send it to the xHarbour crew
> so they can give you a fix.
>
> BTW, if you change the "." with any other separator char I believe it
> will work.
>
> Regards,
>
>
>
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer / Xailer team]
> http://www.xailer.com
> http://www.xailer.info
> http://www.xailer.com/forum
> http://www.xailer.com/dokuwiki
> "F.Trautwein" escribió en el mensaje de
> noticias:[email=4d12266f@svctag-j7w3v3j....]4d12266f@svctag-j7w3v3j....[/email]
>
> Ignacio,
>
> Thank you for answering, sorry if I am not clear,
>
> I use that picture in a GET command in a text application and it works
> fine. Please put a TMaskEdit in a form with that mask and fill it with
> any value and you will see that the behavior is not normal even when
> typing the number.
>
> In text mode:
> sConta:= SPAC(13)
> @ 10,10 GET sConta PICT "@R 9.9.9.99.9999"
> READ
>
> IF you enter "1" the result will be "1"+SPAC(12).
>
> Now in TMaskEdit if you enter "1" the result will be "1... ."
>
> Regards,
>
> Fausto
>
>
> Em 22/12/2010 13:58, Ignacio Ortiz de Zúñiga escreveu:
>> Fausto,
>>
>> I am afraid is a not Xailer bug, but a xHarbour bug. Try this:
>>
>> msginfo( transform( "1", "@R 9.9.9.99.9999" ) )
>>
>> I suggest you use another char separator different than "."
>>
>> Regards,
>>
>> Ignacio Ortiz de Zúñiga
>
--

Attached files IMaskEdit.rar (4.8 KB)Â

Picture problem in TMakeEdit

Publicado: Jue Dic 23, 2010 9:42 pm
por ftwein
Ignacio,
oMaskEdit1:cPicture:= "@R 9.9.9.99.9999" is Fixed.
I tested cPicture:= "9.9.9.99.9999" and it is not working.
Thank you very much,
Fausto
Em 23/12/2010 17:26, Ignacio Ortiz de Zúñiga escreveu:
> Fausto,
>
> I hope we got it fixed. Thanks for your feedback. I include with this
> message the OBJ file.
>
> Regards,
>
>

Picture problem in TMakeEdit

Publicado: Lun Ene 10, 2011 4:56 pm
por emeasoft
Xailer 2.2: corregido
Quote:Este es un error cuando se utiliza sólo cPicture
con los puntos:
::oMaskEdit3:cPicture := "@R 9.9.9.99.9999"
Ya que si usamos esta forma funciona correctamente:
::oMaskEdit2:cPicture := "@R 9.9.9.99.9999-9"