1. Andrew Davis
  2. PowerBuilder
  3. Thursday, 25 April 2019 09:41 AM UTC

Hi, hopefully someone can help

 

I have an application that is written in PB2017 and runs on a windows 8 or windows 10 tablet. 

 

I would like to capture a signature , what is the best way to do this ?

 

regards and thanks in advance

 

Andrew

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 25 April 2019 16:03 PM UTC
  2. PowerBuilder
  3. # 1

Hi Andrew;

   Very easy ... please have a look at either the Ink Picture and/or Ink Edit controls for this type of functionality.

HTH

Regards ... Chris

Comment
  1. Andrew Davis
  2. Thursday, 25 April 2019 16:34 PM UTC
Chris



Looks good so i would use ink picture to capture the signature, how would i best save it, would i use the saveink or save it as a picture , if i saved ink - i use sqlanywhere 16 - what data type would i save it to ?



regards



Andrew

  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 25 April 2019 16:45 PM UTC
Hi Andrew;

You should save the "Ink" part as that will be the actual signature vs the picture which could come from your tablet's camera for example. The "ink" - like the picture - would be stored in a Blob DB column (Long Binary in S.A.). Thus using the UpdateBlob and Select Blob DML statements.

Tip: Another alternative is to use the InkPicture control based DataWindow. The the DWO will perform the Blob DML commands for you.

Regards ... Chris
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.