Jump to content

Ian Branch

Members
  • Content Count

    257
  • Joined

  • Last visited

  • Days Won

    1

Ian Branch last won the day on August 8 2019

Ian Branch had the most liked content!

Community Reputation

37 Excellent

Technical Information

  • Delphi-Version
    Delphi 10.3 Rio

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Ian Branch

    Capture a signature and store in DB

    HI Rollo, I understand your point but it's not my call. The Customer has asked for it. Ian
  2. Ian Branch

    Capture a signature and store in DB

    Atilla, On the iPad, I did find that when I clicked the button and moved the mouse/pointer down to the TImage, the first press of the screen left a dot but wouldn't track. It is a relatively old 9.7" iPad, don't know if that has any bearing. Might see if I can find someone with an iPad stylus to try. Thanks for all your help. Regards, Ian
  3. Ian Branch

    Capture a signature and store in DB

    Atilla, This is via Thinfinity. Haven't sussed out the saving yet but at least I can write. It doesn't work on my iPad though. 😞 Probably needs the stylus. Ian
  4. Ian Branch

    Capture a signature and store in DB

    Atilla, Ah Ha! Thank you. Will advise. Ian
  5. Ian Branch

    Capture a signature and store in DB

    Ah Ha! Bingo! Thank you very much. If I enable fSigno.OnChange := OnChangeSigNo; I get an undeclared identifier when building. It doesn't know about OnChangeSigNo. I also deleted the imgSigno:TImage; declaration. Ian
  6. Ian Branch

    Capture a signature and store in DB

    Yes, it is a VCL App. The TImage is on the form. I just created a new app too. unit Unit23; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls; type TForm23 = class(TForm) Image1: TImage; Button1: TButton; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } imgSigno:TImage; end; var Form23: TForm23; implementation uses Signature; {$R *.dfm} procedure TForm23.Button1Click(Sender: TObject); var fSigNo:TSigNo; begin fSigno := TSigno.Create(imgSigno); //fSigno.OnChange := OnChangeSigNo; end; end. Same error on the Create. 😞 Ian
  7. Ian Branch

    Capture a signature and store in DB

    Hi Atilla, Thank you very much. Unfortunately my skills don't match yours. 😞 I have the following.. procedure TShowRecordForm.Button1Click(Sender: TObject); var fSigNo:TSigNo; begin fSigno := TSigno.Create(imgSigno); //fSigno.OnChange := OnChangeSigNo; .... .... When I run the App and click the button I get an Access violation for the TSigNo.Create(imgSigNo) line. 😞 Signature is included in the uses and I have imgSigno:TImage; in the public area. Ian
  8. Ian Branch

    Capture a signature and store in DB

    Thanks Sherlock. Making sure the signature is real is not my concern. Taking your cue, and having never used it, I did a quick search for using TPaintBox. I found some references but nothing that would point me in the direction of writing into it with a mouse. I did see one suggestion to use a TImage rather than TPaintBox but it wasn't particularly helpful 😞 I'd appreciate any hints/references to writing into a TPaintBox in an App with a mouse. Regards & TIA, Ian
  9. Hi Team, D10.3.3, 32Bit Apps. I have written a couple of native Windows Apps for a Company that is now making them available to their Customers via ThinFinity from Cybele Software. https://www.cybelesoft.com/ Some of their Field Techs are now using it to log and complete tasks in the field via the browser on their Company iPads. Everything works as designed, no issue. What they, the Company, have now asked is if I can add the ability for their Customer to Sign the iPad against the Task signifying their acceptance that the Task is finished to their satisfaction. The Company expects the Signature to be recorded against the database Task record. Given the configuration.. Application running on a Win 2012 Server via Thinfinity and the Web to the browser on the iPad. Is it even possible to capture the signature through this means? I can certainly add a field in the database and Tasking interface to present a Memo field of some sort but I don't know that it is possible for the application to capture a signature via the iPad hardware/software. Does anybody have any experience/thoughts along these lines? Regards & TIA, Ian
  10. Ian Branch

    Indy10 rev 3627 into D10.3.3?

    All Good. Thanks for the rapid support & patience. Regards, Ian
  11. Ian Branch

    Indy10 rev 3627 into D10.3.3?

    Remove ';' all good. Built & Installed. Cheers. Ian
  12. Ian Branch

    Indy10 rev 3627 into D10.3.3?

    Hi Remy, Almost. 😉 "[dcc32 Error] IdCTypes.pas(240): E2029 Declaration expected but ';' found" Ian
  13. Ian Branch

    Indy10 rev 3627 into D10.3.3?

    Hi Remy, FYI - Just pulled rev 3634. All '260 libraries now load. Still get the size_t error. "Building IndySystem260.dproj (Debug, Win32) [dcc32 Error] IdCTypes.pas(191): E2003 Undeclared identifier: 'size_t' [dcc32 Fatal Error] IndySystem260.dpk(57): F2063 Could not compile used unit 'IdCTypes.pas' Failed" Regards, Ian
  14. Ian Branch

    Indy10 rev 3627 into D10.3.3?

    Morning Remy, or Evening, as the case may be. I did a fresh pull. I noticed the Indy260.groupproj and tried it but not all of the libraries are there yet. I then tried Indy250.groupproj, all there, went to build and got the following messages. "Building IndySystem250.dproj (Debug, Win32) [dcc32 Warning] IdGlobal.pas(9537): W1002 Symbol 'RegisterExpectedMemoryLeak' is specific to a platform [dcc32 Error] IdCTypes.pas(191): E2003 Undeclared identifier: 'size_t' [dcc32 Fatal Error] IndySystem250.dpk(51): F2063 Could not compile used unit 'IdCTypes.pas' Failed" The other 4 libraries seem to build OK. Regards, Ian
  15. Ian Branch

    Indy10 rev 3627 into D10.3.3?

    Yup. Well done. "TIdStackLocalAddressAccess(LAddress).FInterfaceIndex := Adapter^.Union.IfIndex;" Fixes it. Regards, Ian
×