JVCL Help:DP GenItemsList

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Transforms a data provider item tree into a string list.

run\JvDataProvider.pas


Pascal

 run\JvDataProvider.pas
 procedureDP_GenItemsList(RootList: IJvDataItems; ItemList: TStrings);


Parameters

Parameters Description
RootList: IJvDataItems Root data item list to fill the list with.
ItemList: TStrings A TStrings descendant to receive the item list in. The list is cleared upon entry to the method.

run\JvDataProvider.pas


Description

DP_GenItemsList will transform a data provider item tree into a string list of items.
The generated list will contain all items in the specified root list, including all sub items. The items are placed in the order they would be shown in a user interface control if the tree was fully expanded, each item accompanied by it's level in the tree.
Upon entry to this method the specified string list will be emptied. Upon exit the objects assigned to each item is a simple integer (and should therefor not be freed when an item is removed or the list is cleared).

run\JvDataProvider.pas


See Also

IJvDataItems

run\JvDataProvider.pas


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page