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
Day: April 9, 2016
Do not enumerate on TTreeNode.Item
Note to self: Do not enumerate on TTreeNode.Item, it's highly inefficient. Consider this code: This code is from my Delphi IDE Explorer expert (a bit simplified for readability). It does something very simple: It goes through all child nodes of the given Parent TTreeNode and looks for one whose Data property matches the given ActCrl … Continue reading Do not enumerate on TTreeNode.Item