4
votes
Vote UpVote

Components vs Children in FireMonkey

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 ...
Favorite? Off-Topic? Anders Ohlsson @ 2012-12-05 20:59

Statistics

Visits: 673
Votes: 4
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

chikh
DavidI
marco.cantu
Ravaut123
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)