Vote UpVote

Class Helper’s with FireMonkey

Stephen Ball – One of FireMonkeys really cool features is the way objects can be parented to other objects, and I’ve been using this a lot in demo’s I’ve been writing recently. Supporting this are properites for TFMXObject.ChildrenCount and TFMXObject.Children (introduced on TFMXObject). Using these properties you can find out how many Children a specific object has at run time. However, as Children can also parent other objects, if you want to find out how many objects of a specific type you have in your chain you have to loop the children recursively to do this. OK, so this is not to hard ...
Favorite? Off-Topic? Stephen Ball @ 2012-07-02 17:37


Visits: 544
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


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