The Hacker's Corner – You have probably iterated through the Components array many many times as a Delphi developer. Consider this simple application: It’s probably no surprise that listing the Components of the form like this… for i := 0 to ComponentCount-1 do Memo1.Lines.Add(Components[i].ClassName+’ (Name = "‘+Components[i].Name+’")’) …gives you the following output, which is very similar to the Structure View in the IDE, except that it doesn’t show the relationships between the components. Listing the children, and the children of all children (recursively) is ...
Visits by Source
Users who voted for this posting