Jump to content

Ian Branch

Members
  • Content Count

    1274
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Ian Branch

  1. Ian Branch

    Reinstall original Indy?

    Hi Team, I have Indy10 installed with my D10.3.3. No problem. Works fine. When I installed Indy10 I removed the generic Indy libraries. Turns out that was a mistake. :-( For reasons of comparability another 3rd Party library I need to reinstall the generic Indy that came with D10.3.3. Whilst retaining Indy10. Can anybody advise where/how I might do that please? Regards & TIA, Ian
  2. Ian Branch

    Reinstall original Indy?

    Hi Remy, Thanks for the reply/info. I used the term 'generic' as it didn't have any '260' in the .bpl file names as opposed to the 'Indy10' I have installed from GitHub. I'm not going to play with the Registry. πŸ˜‰ Modifying the source for the 3rd party library will obviously be required each time there is an update. Not the most desirable thing to deal with. I shall consider my options further. Regards & Tks again, Ian.
  3. Ian Branch

    Delphi Closedown Error

    Well done on your patience and persistence.
  4. Thaks Kas. I'll stick with it then. Ian
  5. Hi Team, Please pardon my ignorance here, I have never done anything with Threading and I have no idea if any of the 3rd Party stuff I use does. I suspect not but it is possible I suppose. So, to my Question.. Given my non-threaded environment, aside from the Debugging aspects, I use EurekaLog, does FastMM5 provide any benefit over the native Delphi (10.3.3) memory manager? Regards & TIA, Ian
  6. Hi Team, D10.3.3, Windows 10, Canon printers. I switched to the IDE Dark mode a little while ago to see if I could get used to it. It's growing on me. I went to print a section of code from a project with Use color & Syntax print on. I could hardly read it. The colors weren't right. I immediately blamed the ink cartridge(s). After replacing all of them I still had the same issue. :-( I was now starting to suspect the printer so I printed a picture from a separate app. All good! OK. I know it used to be OK and the only thing I could think was different was IDE Light v Dark mode. I switched back to Light mode. Viola! All was good again, with the printing colors all good and legible. So - Is this a configuration issue with my Delphi? If so where? Or, is it a bug? Sticking with Light mode for now. Regards & TIA, Ian
  7. Ian Branch

    Ann: NextSuite 6.5.0 released and 40% discount

    I'm a little confused. This thread says 6.4.5 released. Your Home|News|April 4 - says NextSuite (VCL) v6.5.0 released Neither appear in my downloads area :-( Ian
  8. Hi Team, I don't even know if this is practical or possible but it probably is given the capability of Delphi. I have a Multi-User Customer who is more than a little negligent in setting up his workstations with the correct Language/Region settings. :-( In their Customer Table is a field called Country. In it is the Company's Country name. e.g. Australia, India, Fiji, Angola, etc. What I would like to do is to read that name and based on it retrieve from somewhere the relevant Language/Regional settings and set Delphi's Settings accordingly, such that no matter what the Workstation settings are, the Delphi App is working with and according to the Country parameters. Thoughts/suggestions appreciated. Regards, Ian
  9. Hi Team, Some time in the not too distant past I sought a method for minimizing the main form but not any open sub forms. I 'sourced' the technique from somewhere but cannot for the life of me remember what was required, nor, as I have the source code of the relevant App it is working in, can I divine what I did to make it work. 😞 It is going to be something simple but I just can't see it. 😞 Appreciate any thoughts/suggestions on the minimizing. Don't need comments on my memory. πŸ˜‰ Regards & TIA, Ian
  10. Ian Branch

    Minimising Mainform but leaving sub forms normal

    Hmm. Where does that happen? If it is with this code " TGenreTypesForm.Create(Self).ShowModal" then this works in the Working App.
  11. Ian Branch

    Minimising Mainform but leaving sub forms normal

    Hi Lars, Yes I have seen that technique but it isn't what I have working here. This is so frustrating. 😞 Ian
  12. Ian Branch

    Minimising Mainform but leaving sub forms normal

    Hi Lars, You would then need to put something in the Sub forms to make the Mainform visible again. I don't have that. Ian
  13. Ian Branch

    Set a PC environment based on a Country name..

    Database Dates are always as datetime. Where it falls down is when creating a filter. e.g. '13-Mar-20' is not a valid date. This is from a Calendar component picking up the PCs short date format. '13/03/2020' is a valid date. So, my objective is to force the, dates in this case, to the same format as required. I get the same issue with Currency symbols, etc.
  14. Ian Branch

    Set a PC environment based on a Country name..

    Actually Language I can live with, it is the date and currency differences between the database and their PC that is causing the grief. e.g. The Database is expecting dd/mm/yyyy and their PC is set for dd-MMM-yy. They are English in any case. Ian
  15. 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
  16. Ian Branch

    Capture a signature and store in DB

    Hi Team, Update - I received and tested on an Android tablet today. Same outcome as the iPad. Ian
  17. 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
  18. 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
  19. 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
  20. Ian Branch

    Capture a signature and store in DB

    Atilla, Ah Ha! Thank you. Will advise. Ian
  21. 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
  22. 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
  23. 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
  24. 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
  25. Ian Branch

    Indy10 rev 3627 into D10.3.3?

    Hi Team, I have just done a full svn of Indy10 rev 3627. As there is no Indy260.groupproj I used the the Indy250.groupproj. IndySystem250.bpl build fails with the following messages... "Building IndySystem250.dproj (Debug, Win32) [dcc32 Warning] IdGlobal.pas(9537): W1002 Symbol 'RegisterExpectedMemoryLeak' is specific to a platform [dcc32 Error] IdStackWindows.pas(1455): E2003 Undeclared identifier: 'IfIndex' [dcc32 Error] IdStackWindows.pas(1601): E2003 Undeclared identifier: 'AdapterIndex' [dcc32 Fatal Error] IdStack.pas(2394): F2063 Could not compile used unit 'IdStackWindows.pas'" Is this an error/bug or have I missed something? The other 4 projects in the package build OK. Regards & TIA, Ian
Γ—