JVCL Help:DP FindItemsRenderer

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

Search in JVCL Help

 
Search in all projects
 

Summary

Locate nearest IJvDataItemsImages implementation for a specific item.

run\JvDataProvider.pas


Pascal

 run\JvDataProvider.pas
 functionDP_FindItemsRenderer(AItem: IJvDataItem; outRenderer: IJvDataItemsRenderer): Boolean;


Parameters

Parameters Description
AItem: IJvDataItem Data item for which the nearest IJvDataItemsRenderer implementation is to be found.
out Renderer: IJvDataItemsRenderer Variable to retrieve the reference to the IJvDataItemsRenderer interface in.

run\JvDataProvider.pas


Description

DP_FindItemsImages locates the nearest IJvDataItemsRenderer implementation for a specific item. The function will scan the parent chain for the first item list to implement the IJvDataItemsRenderer interface and returns a reference to it.
If none of the item lists in the parent chain implement the IJvDataItemsRenderer interface the function returns False, otherwise True will be returned.
This function is implemented as: Result := DP_FindItemsIntf(AItem, IJvDataItemsRenderer, Images);

run\JvDataProvider.pas


See Also

DP_FindItemsImages, DP_FindItemsIntf, IJvDataItemsRenderer

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