PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → WinDevMobile 16 Signature Capture
WinDevMobile 16 Signature Capture
Iniciado por DAVE SUMMERS ( DS PR, ago., 01 2011 2:26 PM - 3 respostas
Membro registado
16 mensagems
Publicado em agosto, 01 2011 - 2:26 PM
Hi

Looking to capture signature on Windows Mobile 6.0 device. Has anyone managed to acheive this? Thought it may be a Rich Text input box but cant seem to get it to work with stylus signature capture.

Any help?

cheers Dave
Publicado em setembro, 13 2011 - 12:41 PM
Do you want to just get a picture with the signature ? Than look here:

C:\WinDev Mobile 16\Examples\Mobile\Pocket Notes

I did use this, deleted the color an thicknes part and build it in as a sign field ;-)
Membro registado
1 mensagem
Publicado em outubro, 16 2012 - 2:34 PM
However, as your industry view depends on this app, you shouldn't employ a mobile app development company Indigomultimedia.com devoid of ensuring that you can get the most excellent app for your company.
Membro registado
34 mensagems
Popularité : +2 (2 votes)
Publicado em novembro, 01 2012 - 6:27 PM
Done this. Put a white blank image on the window and then use mouse commands.

It needs some code like this on Mouse Rollover of the image -

IF mousedown THEN
X2=MouseXPos()
Y2=MouseYPos()
IF lastx=0 THEN
X1=X2-1
IF X1<1 THEN
X1=1
END
ELSE
X1=lastx
END
IF lasty = 0 THEN
Y1=Y2-1
IF Y1<1 THEN
Y1=1
END
ELSE
Y1=lasty
END
dLine(X1,Y1,X2,Y2,iBlack,3)
lastx=X2
lasty=Y2
END

This draws lines on your blank image. You then save the image after.

Pressed/left button needs -
mousedown = True

Released/left button needs -
mousedown = False
lastx=0
lasty=0

And you need some code in Global Declarations -
X1 is real
X2 is real
Y1 is real
Y2 is real
lastx is real
lasty is real
mousedown is boolean

And it works!