PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → WinDevMobile 16 Signature Capture
WinDevMobile 16 Signature Capture
Débuté par DAVE SUMMERS ( DS PR, 01 aoû. 2011 14:26 - 3 réponses
Membre enregistré
16 messages
Posté le 01 août 2011 - 14:26
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
Posté le 13 septembre 2011 - 12:41
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 ;-)
Membre enregistré
1 message
Posté le 16 octobre 2012 - 14:34
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.
Membre enregistré
33 messages
Popularité : +2 (2 votes)
Posté le 01 novembre 2012 - 18:27
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!