There was one shortcoming in my Delphi IDE explorer that has irked me since the beginning: It was disabled while a modal dialog was shown in the IDE, so there was no way to inspect the controls on the current dialog. The option to follow the focus ameliorated this a bit because it was now … Continue reading Enabling a form while another form is being shown modally
Category: Delphi
Do not enumerate on TTreeNode.Item
Note to self: Do not enumerate on TTreeNode.Item, it's highly inefficient. Consider this code: [delphi] procedure SelectFocusedControl(_ActCtrl: TWinControl; _Parent: TTreeNode); var j: Integer; CtrlItem: TTreeNode; begin for j := 0 to _Parent.Count - 1 do begin CtrlItem := _Parent.Item[j]; if CtrlItem.Data = _ActCtrl then begin CtrlItem.Selected := true; break; end else SelectFocusedControl(_ActCtrl, CtrlItem); end; end; … Continue reading Do not enumerate on TTreeNode.Item
More enhancements for the search path dialog
After I found and fixed the problem with the Grep results dialog I returned to enhancing the search path dialog. Last time I added an option to replace the ListBox on that dialog with a Memo. Many people liked that change but of course, people being people, they started to complain about missing features. In … Continue reading More enhancements for the search path dialog
Safe event hooking for Delphi IDE plugins revisited
A while ago I blogged about Safe event hooking for Delphi IDE plugins. I have used this method in GExperts as well as my Delphi IDE Explorer and it worked fine for both plugins. Today I looked at the code again and didn't like it very much. Yes, it works fine and there aren't any … Continue reading Safe event hooking for Delphi IDE plugins revisited
Calculating Offsets into the Delphi editor buffer
I have already mentioned the AutoTodo wizard for Delphi when I was trying to contact the Author Peter Laman. He hasn't responded and nobody could give me any contact information. (Peter, if you ever read this, please contact me using my Google+ profile.) The animated GIF in that post shows how the new AutoTodo expert … Continue reading Calculating Offsets into the Delphi editor buffer
David Hoyle has a new blog
Today I noticed a few blog posts that I thought odd, because they were referring to some Delphi IDE tools I had released. So I thought somebody might be using them to promote his own blog. It turned out quite differently: David Hoyle, who is the original author of the AutoSave Wizard and the Delphi … Continue reading David Hoyle has a new blog
Paging Peter Laman
Does anybody know how to contact Peter Laman, who wrote the AutoTodoInserter wizard? I have added this functionality to GExperts based on his code. I had to make quite a few changes to make it work with Unicode but the basic structure is still the same. The license terms state "Commercial use requires permission". Even … Continue reading Paging Peter Laman
Experimental GExperts Version 1.38 2016-02-15 released
I bloged a lot about GExperts recently: A new way to call the experts in GExperts Compiling GExperts while the DLL is loaded in the IDE Backwards compatibility of uses lists Automatically scroll a memo line by line in Delphi And you have probably wondered when I will make a new GExperts release. OK, no … Continue reading Experimental GExperts Version 1.38 2016-02-15 released
A new way to call the experts in GExperts
The Delphi IDE comes preconfigured with quite a lot of keyboard shortcuts and the remaining keyboard combinations are getting less and less with every plugin that needs some more. Even worse, some functions have multiple shortcuts, e.g. the replace dialog can be called using each of Ctrl+Q H or Ctrl+R or Ctrl+H (what a waste!). … Continue reading A new way to call the experts in GExperts
Compiling GExperts while the DLL is loaded in the IDE
If you have tried to work on GExperts (or any other DLL-based Delphi IDE expert) you have probably encountered this annoyance: Of course you want GExperts to be active in your IDE so you can use its features. But if you then compile it, the output file already exists and is locked because it is … Continue reading Compiling GExperts while the DLL is loaded in the IDE