Jump to content

Ian Branch

Members
  • Content Count

    1435
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Ian Branch

  1. Ian Branch

    Separate Formatter Issue/Warning..

    Hi Thomas, Hmmm. Thinking out loud. Perhaps another variable in the environment. GExperts has historically been the first thing I install in a new Delphi. Then all the other Add-ons and libraries. During my initial testing I removed all the Ad-ons and still experienced the issue. Now, I have left all the Add-ons installed and removed/re-installed Gexperts and it seems to be fine. We shall see after a day of testing. Ian
  2. Ian Branch

    Separate Formatter Issue/Warning..

    Hi Thomas, OK. At first efforts/tests, I can't make it fail with this added. FormattedBlockEnd: string; begin ShowMessage('In Execute Method'); Result := False; if not GxOtaTryGetCurrentSourceEditor(SourceEditor) then raise ECodeFormatter.Create(str_NoEditor); The message shows every time and the Formatting works. I will try all sorts of permutations today and let you know the results. Regards, Ian
  3. Ian Branch

    Separate Formatter Issue/Warning..

    Sure. Which Unit would that be in?
  4. Ian Branch

    Separate Formatter Issue/Warning..

    Hi Thomas, Neither the menu option or the Hot-Key work. No error messages, it just sits there. I don't understand it either however I don't believe it to be a GExperts issue. Hi Timfrost, Tks for that feedback. It is repeatable here. I guess it is something in/with my overall PC environment. 😞 Anyway, I have identified it and have a work around. Regards, Ian
  5. Hi Team, My Formatter setting for Line Breaks in 'Line breaks in Var and Const sections' is set to As is. I like to format like this.. // var sAppVersList: string; var aAppPath := ExtractFileDir(ParamStr(0)); var aFileNames := TDirectory.GetFiles(aAppPath, '*.exe'); var sFileName: string; // If I now run the Delphi 'Format Project Sources', I get the following.. // var sAppVersList: string; var aAppPath := ExtractFileDir(ParamStr(0)); var aFileNames := TDirectory.GetFiles(aAppPath, '*.exe'); var sFileName: string; // Is this a bug or have I missed something?? It only happens where values are assigned to the var. Regards & TIA, Ian
  6. Ian Branch

    Possible formatting bug in D11.3??

    It's only become an 'issue' since the introduction of inline assignable variables.
  7. Ian Branch

    Possible formatting bug in D11.3??

    K. Tks. Maybe I will submit it as a suggestion/enhancement. Although I still think it is a bug. 😉
  8. Ian Branch

    Possible formatting bug in D11.3??

    Ummm. Sorry, no. Where is this referred to pls? In any case I would contend that what I have should be OK. 🙂
  9. Ian Branch

    Delphi 11.3 is available now!

    Bummer! Usually WebInstall works fine. This time while removeing the Getit packages, had an error, then it registered some dlls and died... 😞 Repeated attempts all fail the same way. It doesn't appear to download anything to install. Tried to reinstal D11.2 - Same issue - I have a problem.. 😞 Update 1 - Installing into my VMWare VM OK. Update 2 - Ended up totally de/re-installing D11. 😞 Reinstalling all the 3rd Party stuff now. 😞 Oh the pain!! Update 3 - All done. Indirect bonus, I now have a clean install again.. 😉
  10. Hi Team, Win 11, D11.2. As best I can tell I have set all the relevant settings for the Formatter and Tabs to 2. Yet, I still get formatting like the following.. Each indent is 8 characters. I want only 2. As I said, I have tried the usual places in the Formatter and User Interface but I still can't get it to work as desired... 😞 Is there some obscure place/setting I don't know about?? Regards & TIA, Ian
  11. Ian Branch

    Delphi's Formatter driving me mad...

    I believe I have cracked it.. In the registry Block indent & Tab stops were set to 8, but the equivalent Pascal settings were 2. I changed the Default to 2 and all is good now. I don't know if this is a bug in 11.2 and is resolved in 11.3. We shall see. Regards, Ian
  12. Ian Branch

    Delphi's Formatter driving me mad...

    Oh Dear. I thought we had it. 😞 Delete the Editor Reg entry. Start Delphi. Format the source, all good. Exit and re-open Delphi. Format the source, back to where we started. 😞 Sigh!
  13. Ian Branch

    Delphi's Formatter driving me mad...

    Ah Ha! That got it sorted. Thanks for the assist/guidance. Regards, Ian
  14. Ian Branch

    Delphi's Formatter driving me mad...

    Yup. The same.
  15. Ian Branch

    Delphi's Formatter driving me mad...

    All disabled.
  16. Ian Branch

    Delphi's Formatter driving me mad...

    Used your .config. Got the same indent issue.. 😞 Got to be somewhere else.. I have disabled all my IDE plugins.. Ian
  17. Ian Branch

    One place to rule them all???

    Hi Team, Philosophical discussion. Bit like which word processor is best. Is it better to have all the Database related components TEngine, TSession, TConnection, TTables, TQuerys, etc, in a datamodule or scattered around the forms.. Pros & Cons - Ready... Go!!
  18. Ian Branch

    One place to rule them all???

    Uwe nailed my position... 🙂
  19. Ian Branch

    VCL - DevExpress

    Nnnnoooooo!!!!! Yes, Tim is a one man shop, but he poduces excellent products at a great price and excellent support. Let's keep it that way....
  20. Ian Branch

    Connecting Actions query..

    Hi Team, Based on Ray Koonopka's presentation in the 2023 Delphi Con, I thought I would have a look at Actions via an ActionList.. All seems fine with one exception.. When I connect an Action to a Button, the Actions 'OnExecute' event gets inserted into the button's 'OnClick' event. Is this normal/correct? Is it OK to leave there? Regards & TIA, Ian
  21. Ian Branch

    Connecting Actions query..

    Tks Guys. Appreciated.
  22. Ian Branch

    Files in the CatalogRepository??

    Hi Team, D11.2. I was chasing a component issue and ended up in the CatalogRepository.. I found that I had multiple entries for ostensibly the same thing.. e.g. There are lots more before and after... Are the earlier files still required or are they just taking up space? Regards & TIA, Ian
  23. Ian Branch

    wuppdi Welcome Page for Delphi 11 Alexandria?

    I have now backed up the settings per the migration tool. No, I don't start Delphi with the -r parameter.
  24. Ian Branch

    wuppdi Welcome Page for Delphi 11 Alexandria?

    Interesting happening. D11.2. I have 20 odd projects in a 'Favourites' folder. I compressed one of the projects folder because I copied it to a new folder and was working there on a modified version. Did what I had to do. Closed and restarted Delphi and all projects from and including the compressed project, were missing?? All twelve of them. I had to reload them all again. 😞 I can understand, but not necessarily like, the compressed folder project being missing, but the rest?? Ian
  25. Ian Branch

    IsValidDate fails after the Year 9999

    I was there for Y2K. Not sure I will be around for Y10K... 😉
×