RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterSubComponent.GetCurrentObject Method

Returns the current field or action from the list when an enumerator is iterating over child items.

Pascal
function GetCurrentObject(OwnerData: Pointer): TObject;
C++
__fastcall TObject * GetCurrentObject(void * OwnerData);

GetCurrentObject is part of the support that allows server-side script to use an enumerator to iterate over all the child items in the collection. This method returns the current child item.  

OwnerData is a pointer to object-specific information returned by the last call to the StartIterator or NextIteration method. TAdapterSubComponent does not use the OwnerData parameter. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!