

Ian Branch
Members-
Content Count
1435 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Ian Branch
-
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
-
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
-
Sure. Which Unit would that be in?
-
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
-
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
-
It's only become an 'issue' since the introduction of inline assignable variables.
-
K. Tks. Maybe I will submit it as a suggestion/enhancement. Although I still think it is a bug. 😉
-
Ummm. Sorry, no. Where is this referred to pls? In any case I would contend that what I have should be OK. 🙂
-
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.. 😉
-
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
-
Delphi's Formatter driving me mad...
Ian Branch replied to Ian Branch's topic in Delphi IDE and APIs
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 -
Delphi's Formatter driving me mad...
Ian Branch replied to Ian Branch's topic in Delphi IDE and APIs
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! -
Delphi's Formatter driving me mad...
Ian Branch replied to Ian Branch's topic in Delphi IDE and APIs
Ah Ha! That got it sorted. Thanks for the assist/guidance. Regards, Ian -
Delphi's Formatter driving me mad...
Ian Branch replied to Ian Branch's topic in Delphi IDE and APIs
Yup. The same. -
Delphi's Formatter driving me mad...
Ian Branch replied to Ian Branch's topic in Delphi IDE and APIs
All disabled. -
Delphi's Formatter driving me mad...
Ian Branch replied to Ian Branch's topic in Delphi IDE and APIs
Used your .config. Got the same indent issue.. 😞 Got to be somewhere else.. I have disabled all my IDE plugins.. Ian -
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!!
-
Uwe nailed my position... 🙂
-
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....
- 21 replies
-
- vcl
- devexpress
-
(and 2 more)
Tagged with:
-
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
-
Tks Guys. Appreciated.
-
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
-
wuppdi Welcome Page for Delphi 11 Alexandria?
Ian Branch replied to PeterPanettone's topic in Delphi IDE and APIs
I have now backed up the settings per the migration tool. No, I don't start Delphi with the -r parameter. -
wuppdi Welcome Page for Delphi 11 Alexandria?
Ian Branch replied to PeterPanettone's topic in Delphi IDE and APIs
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 -
IsValidDate fails after the Year 9999
Ian Branch replied to Nigel Thomas's topic in RTL and Delphi Object Pascal
I was there for Y2K. Not sure I will be around for Y10K... 😉