Ian Branch
Members-
Content Count
1352 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Ian Branch
-
Hi Team, Please excuse my ignorance here.. If I use in my App just one function out of a library of functions from a unit say, myunit.pas in my uses clause. When the Delphi compiles/builds the App, does it only incorporate the function I am using or all the functions in myunit.pas? Hopefully/preferably the former, but I will have to accept it may be the latter... 😉 Regards & TIA, Ian
-
Methods from Libraries (bpl or pas) in Apps??
Ian Branch replied to Ian Branch's topic in General Help
Excellent! Thank you. It had always been an irritating thought in the back of my head that the whole library/unit was included. in some form. Although logic would dictate otherwise. I breath easier now. -
Where to turn off 'Whole words' searching?
Ian Branch replied to Ian Branch's topic in Delphi IDE and APIs
Hi Team, Thank you all for your inputs. Turning it off in the registry before starting Delphi has done the trik. Regards, Ian -
Where to turn off 'Whole words' searching?
Ian Branch replied to Ian Branch's topic in Delphi IDE and APIs
I just restarted my PC, started Delphi, opened the project, did Ctrl-F and the checkbox is checked. Checking the registry, yes, it is True. Not persistent. 😞 unchecked the checkbox, saved the project, exited Delphi and reopned, checkbox checked -
Where to turn off 'Whole words' searching?
Ian Branch replied to Ian Branch's topic in Delphi IDE and APIs
Tks. Interestingly, it is False in the registry. And now the checkbox is off. Yet I had to turn it off yesterday and today. Strange. -
Hi Team, I have this procedure.. procedure TdmC.dsJobTicketsDataChange(Sender: TObject; Field: TField); begin ... .... Currently it is 'hard coded' to the Datasource. I want to assign it at run time if possible. What steps do I need to take to do that please?? The datamodule, TdmC, is used by two applications with conditionals isolating relevant code. By way of example, ATT I have conditionals inside this procedure that basically remove any code. I feel it would be neater to actually have the procedure assigned to the event IF the relevant conditional is true. There are several other procedures in the unit that are treated the same. Of course I am open to alternatives.. 🙂 Regards & TIA, Ian
-
Hi Team, I regularly get this when I open D11.3 and previous versions. Do we know why?? Regards, Ian
-
Yup. My goof. 😞 Working the latest now.
-
Build of 3990 failed - See Bug Report.
-
wuppdi Welcome Page for Delphi 11 Alexandria?
Ian Branch replied to PeterPanettone's topic in Delphi IDE and APIs
I deleted ALL of the WP.xxxx.bpl files, redownloaded it, added it to Delphi, same issue. -
wuppdi Welcome Page for Delphi 11 Alexandria?
Ian Branch replied to PeterPanettone's topic in Delphi IDE and APIs
Yes, but on a totally different drive/directory that isn't accessed. -
wuppdi Welcome Page for Delphi 11 Alexandria?
Ian Branch replied to PeterPanettone's topic in Delphi IDE and APIs
Nope. Same issue. 😞 -
wuppdi Welcome Page for Delphi 11 Alexandria?
Ian Branch replied to PeterPanettone's topic in Delphi IDE and APIs
The latest 'version' won't load into my D11.3. 😞 I have gone back to the previous version which loads fine. Ian -
Please add your experiences/testing to the bug report on Sourceforge. Every little bit of info will help Thomas.
-
Done. https://sourceforge.net/p/gexperts/bugs/314/
-
Hi Thomas, Still with the issues. 😞 Sometimes when it doesn't work, it still shows the message box, if I reboot and restart Delphi it does work.. Unpredictable. 😞 Ian
-
OK. I have it happening.. 😞 The message is showing but the formatting isn't happening.. 😞 I closed one project, it was working, opened another and it isn't. Closed and reopened Delphi and the Project and its working again. Close that project, open another, still working.. Confusing, frustrating, annoying...
-
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. 🙂