Ian Branch
Members-
Content Count
1352 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Ian Branch
-
Hi Remy, There is only the one form.
-
Hi Team, I am rebuilding my PC. 😞 Fortunately I have backups. 🙂 I can recover my Codesnip data files if someone can tell me: a. Where they are kept; and b. What their file extent looks like/is. Once I have the right information I can restore the relevant directories. Regards & TIA, Ian
-
Ahhh. Excellent! Tks Brian. All recovered now. Tks again, Ian
-
Hi Team, D12.1, Win 11, 32bit Apps. I have something strange happening when Compiling or Building in the IDE. If I load a Project Group and Compile or Build, it runs through and completes quickly as normal. If I load one of those projects from the Project Group on its own, the IDE seems to take snail pills and slows down both in response and in compling & building. To the extent that after editing the project, it is quicker to close it, load the project group and compile/build it... I thought it might have been a plug-in but I have disabled all of them and have the same result. I thought it might have been my AC so I disabled it, same result. Anybody had this issue? Anybody got any thoughts/suggestions as to where to look? Regards & TIA, Ian
-
Further A-B testing this morning confirmed my suspicion. With previous version, it took approx. 10sec. to build the project. With new version, it took approx.. 1m 56s. ☹ QED. I have let the Developer know. I will stick with the old version for now.
-
I think I found it. I don't want to put the mozz on it but it seems to be OK now. I recalled that I had installed a component update. I reverted to the previous version and all is good now, so far. A full day tomorrow without issues and I will call it...
-
A further observation: I mentioned above that if I open a project group and Build and/or Compile it, all is well. I just discovered that if I open the project group, and open one of the files of one of the projects in the IDE, and try to Build/Compile, I get the poor response from the IDE and the Build/Compile. 😞 If I then close that file in the IDE and right click on that same project, the Build/Compile is normal.
-
Hi Uwe, To eliminate that possibility, I deleted a project's .dsk file and then opened the project. Same issue when I go to build it. 😞 7m 55s to build what is a small project/app
-
Hi Team, Are Rigistry entries refering to Borland anything still relevant? Or are they just left overs from past installs?
-
Thank you David. I will leave them well alone. 🙂
-
Good is a relative term.. 😉 GExperts has a 'Code Librarian'. https://blog.dummzeuch.de/experimental-gexperts-version/ Then there is CodeSnip. https://github.com/delphidabbler/codesnip I use both. Neither have all three of the capabilities you mention. HTH, Ian
-
Hi Team, I have downloaded and installed SVGIconsImageList from GitHub. No issues there. The components are appearing in most of my Apps projects under the Design tab components except for one form in a project. A Datamodule. It is fine if/when I install SVGIconImageList via GetIt. What could be causing them to be missing from just the one form on the one project? It is complaining that Class TSVGIconImageCollection is not found. Regards & TIA, Ian
-
3rd party library not showing in a Form.
Ian Branch replied to Ian Branch's topic in Delphi IDE and APIs
Noted. Again, I have never knowingly touched this. -
3rd party library not showing in a Form.
Ian Branch replied to Ian Branch's topic in Delphi IDE and APIs
OK. {%CLASSGROUP 'System.Classes.TPersistent'} Didn't look right, so I changed it to; {%CLASSGROUP 'Vcl.Controls.TControl'} And it is happ now. I have no idea how/when it was et to System.Classes.TPersistent. 😞 Thanks for the prompt/pointer. Regards, Ian -
3rd party library not showing in a Form.
Ian Branch replied to Ian Branch's topic in Delphi IDE and APIs
This is the code for the Datamodule: unit dmImages; interface uses System.SysUtils, System.Classes, Vcl.BaseImageCollection, SVGIconImageCollection, GITLAKLib; type TdmI = class(TDataModule) SVGIC: TSVGIconImageCollection; end; var dmI: TdmI; implementation {%CLASSGROUP 'System.Classes.TPersistent'} {$R *.dfm} end. It is working fine as is att using SVGIconsImageList from GitHub. Ian -
Hi Team, D12.1 A 3rd Party IDE plug in on GitHub pricked my interest. I downloaded, built and installed it. As it turns out, it isn't of any use to me. I can't find any mechanism to remove it. I could delete the .bpl. but will probably end up with error messages when i start the IDE. I found an entry in the Registry but: a. I am unsure if it is the right/only one to delete. b. I am leary of doing so on spec as I have been bitten a couple of times previously playing in the registry. What is the best/safest method to remove it please? Regards & TIA, Ian
-
Hi Remy, Agreed, but, it didn't appear there, or I would have. Regards, Ian
-
Tks Anders, It wasn't under 'Known IDE Packages', it was under 'Known Packages'. All good now Tks. Regards, Ian
-
Hi Team, I want to display a conditional message on data change. The condition tests a couple of fields in the record and if the test is True then a message is displayed. I currently have relevant code in the Table DataChange event. Unfortunately, the message is displayed on every occurrance when a record is selected past other records that the condition is true. 😞 How can I get this to work/show only when the the data changing has stopped and the selected record is visible to the User? Ian
-
Display a conditional message on data change...
Ian Branch replied to Ian Branch's topic in General Help
Tks. I added the functionality to the InChange of a Read-Only DBEdit on the Form and it works perfectly. Ian -
What version of Delphi has the least amount of bugs throughout history?
Ian Branch replied to Al T's topic in Delphi IDE and APIs
Whilst I have always kept up to date withthe Delphi versions, I have a soft spot for D2007. -
Hi Team, Using D12.1. I noticed that Parnassus Bookmarks had been updated in Getit. From 1.6.4.1 to 1.6.5.2. In Getit, I uninstalled my Bookmarks 1.6.4.1 and installed the newer 1.6.5.2. All went well. I then noticed I had two installs of Parnassus CoreEditor, 1.6.4.1 & 1.6.5.2. This surprised me as CorEditor was originally installed by Bookmarks 1.6.4.1, so I thought uninstalling Bookmarks 1.6.4.1 would have deinstalled CorEditor, unless there were other Parnassus items installed. i.e. Parallel Debugger if it needed it. There wasn't. Anyway, I proceded to uninstall CoreEditor 1.6.4.1. Big Mistake. Seems Delphi stilll had its hooks in it. 😞 The consequence of this was when Delphi tried to reload it Froze telling me about the inability to find the coreeditor dll. Only resolved by the Task Manager. I ultimately resolved it by removing the Bookmarks & CoreEditor from the Catalog Repository, opening Delphi and reinstalling the new Bookmarks, which of course gave me the new Core Editor as well. HTH anybody in the future. Of course this may be my unique configuration/PC issue. Anybody else been caught out by this? P.S. Something that would be helpful, would be some indication of what has changed between the two versions.... Regards, Ian
-
Hi Team, I have this code in the project file: // Create or open the DBW.ini file oDBWIni := TIniFile.Create('E:\DBiWorkflow\DBW.ini'); try // Read the delimited IP addresses from the 'DBiDashboard' section with 'IPAddresses' identifier sAllowedIPs := oDBWIni.ReadString('DBiDashboard', 'IPAddresses', ''); finally // Free the DBWIni object to release resources oDBWIni.Free; // end; // ShowMessage(sAllowedIPs); // oDBWIni is declared as a TIniFile in the Var. System.IniFiles is in the uses clause. The file is there, the section is there, the identifier is there and there are valid IPs there. But, sAllowedIPs shows nothing. 😞 What have I missed please? Regards & TIA, Ian
-
Oh My! Found it. I really do need to get my eyes rechecked. It wasn't DBWIni.ini, it was DBiWIni.ini. All good now. Thank you for your inputs and apologies for any inconvenience. Ian
-
This is the relevant section. I can't show the rest of the ini content as there is confidential information in it. In another App, albeit in the mainform, I access the data like this: procedure TMainForm.LoadIPMemoFromIni; var DelimitedString: string; LineList: TStringList; begin LineList := TStringList.Create; try DelimitedString := DBWIni.ReadString('DBiDashboard', 'IPAddresses', ''); if DelimitedString <> '' then begin LineList.CommaText := DelimitedString; IPMemo.Lines.Assign(LineList); end; finally LineList.Free; end; end; And it works fine. Here, DBWIni is a TIni component.