Logged out, click to login

JEDI Online help - Details



Back to unit JvDataProviderIntf.pas Back Edit Search Administration

IJvDataConsumerViewList.SubItem@IJvDataItem@Integer

Summary
Retrieve a reference to a child item of a given item.

Parameters
Parent - Either a reference to the parent item or a 0-based index in the view list of the parent item. Allowed values for the index version ranges from 0 to Count-1.
Index - 0-based index of the child item to retrieve.

Description
SubItem retrieves a reference to the specified child item of the specified parent item. The two versions of this method allow to specify the parent either as a data item or as a 0-based index in the view list.<br> <br> If the parent item could not be found either an exception is raised or a nil pointer is returned (depends on the implementer).<br> <br> If the item has no children or the index is out of range either an exception is raised or a nil pointer is returned (depends on the implementer). Most implementers will choose to return a nil<br> pointer in this case, as there's no real way to tell the number of child items an item has.<br>

See Also
IJvDataConsumerViewList.SubItemIndex

Last changed by obones on 2009-01-04 21:13:56 CET

Copyright (c) 2004 by the JVCL Team; all rights reserved
Uses PclZip by phpconcept and parts of the PEAR library