FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Electronic Signature Pad
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Electronic Signature Pad
Posted: Wed May 07, 2014 12:59 PM

Hi.

Has anyone used an electronic signature pad with fw? Any recommendations?

Thank you,

Reinaldo.

Posts: 729
Joined: Tue Oct 18, 2005 06:49 PM
Re: Electronic Signature Pad
Posted: Wed May 07, 2014 02:03 PM

Reinaldo,
A few years ago I did some testing with Topaz ActiveX under xHarbour and FWH.
The Signature pad worked fine.

Regards,

George

Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: Electronic Signature Pad
Posted: Wed May 07, 2014 03:24 PM

I think I will order a Topaz signature pad for testing. Thank you.

Reinaldo.

Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Re: Electronic Signature Pad
Posted: Fri May 09, 2014 08:58 AM

Hi Reinaldo,

We have also used the epad ink pad as well.

http://www.epadlink.com/index.php

Best regards,

Pete

Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: Electronic Signature Pad
Posted: Sat May 17, 2014 05:38 PM

Hello everyone;

I just got my Topaz signature pad for testing. Does anyone have any code that I can see to get started using the Topaz OCX to capture a signature?

Thank you,

Reinaldo.

Posts: 729
Joined: Tue Oct 18, 2005 06:49 PM
Re: Electronic Signature Pad
Posted: Sun May 18, 2014 05:29 PM
Reinaldo,
Review this code:
Code (fw): Select all Collapse
    lFound := IsActivex("SIGSIGN.SigSignCtrl.1")
    IF lFound = FALSE
        IF lMessage := MsgYesNo("TOPAZ signature pad is not installed." + CHR(13)+;
                                 "Do you want to cancel signature?", 'WARNING')
            RETURN FALSE
        ENDIF
     ENDIF

    oActive = TActiveX():New( oWnd, "SIGSIGN.SigSignCtrl.1",30,10, 100, 100 )
    oActive1 = TActiveX():New( oWnd, "SIGPLUS.SigPlusCtrl.1")

    oActive:WindowTitle = "Enter Agent Signature"

    lReturn := oActive:GetSignature()
    sCstring = oActive:SigString

  // --- Create TXT file containing digital signature
    nOutHandle := fcreate("AgSign.txt")
    if nOutHandle < 0
       msginfo("Unable to create AgSign.TXT file")
       return FALSE
    endif

    fwrite(nOutHandle, sCstring)
    oActive1:InitSigPlus()
    oActive1:SigString = sCstring
    oActive1:WriteImageFile(CurrentDirectory()+"\AG_SIGN.BMP")
    FClose(  nOutHandle )

    oActive:End()
    oActive1:End()
Regards,

George

Continue the discussion