PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WM21 and signature
WM21 and signature
Iniciado por guest, 11,may. 2016 14:52 - 3 respuestas
Publicado el 11,mayo 2016 - 14:52
Hey my friends :rp:


I have an android app where Customers can put a signature in an image control
But how can i test if there is really a signature ?

I have tried :
Signature is an image = img_control
Signature ..valid,
Signature ..height
In the simulator all works fine (off course) but not on the tablet

TIA !!
Jan
Publicado el 11,mayo 2016 - 15:58
Hi Jan

what is a signature? Is a dot valid? an X?

What you can check is ..modified, or check the size of the resulting (saved) image on disk, and compare that to the size of the same field saved empty...

However, none of that will tell you if there is really a signature

Best regards
Publicado el 11,mayo 2016 - 17:11
Hi Jan,
how do you hande the drawing of the user?
I'm using the pen down/move/up events together with dLine() to get that done. And I also use a boolean in this proces to indicate that at least some drawing has been done.
Publicado el 11,mayo 2016 - 21:29
Thanks Arie and Fabrice

:cheers:
Jan