Dew MtxVec NET
TMtxComponentList Object
Summary
Manages a list of TMtxComponents.

Unit
MtxBaseComp

Hierarchy
TMtxComponent <--TMtxComponentList

Subclasses
None

Description
Manages a list of TMtxComponent. The class can be quickly customized to manage a list of components derived from TMtxComponent. The components in the list are owned by the object and are created and destroyed automatically when setting the Count property.

Properties

 Name  Summary 
Count Defines the size of the list. 
Items  
Managed  
PropagateTemplate If true, the Propagate routine, will propagate only the "template" of the selected source and not all the published properties of the source. 

Methods

 Name  Summary 
Add  
AddItem  
Clear Deletes all items from the list. 
Delete Deletes the item from the list. 
Exchange Swaps the position of two items in the Items array. 
Extract Extracts the item from the list. 
First Returns the pointer to Items[0]. 
GetItems  
Insert Inserts an item at position Index. 
Last Returns Items[Count - 1]. 
LoadBinaryStreams  
Move Changes the position of an item in the Items array. 
Propagate  
Remove Deletes the first reference to the Item parameter from the Items array. 
Rotate Rotate the list up or down. 
SaveBinaryStreams  
SetBlockAssign  
SetItems  

Events

 Name  Summary 
OnItemAdd Event triggered after a new item has been added. 
OnItemDelete Event triggered before the Item will be deleted. 

Copyright 2008 Dew Research
http://www.dewresearch.com