JVCL Help:DP FindItemsIntf

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

Search in JVCL Help

 
Search in all projects
 

Summary

Locate the nearest IJvDataItems support interface implementation for a specific item.

run\JvDataProvider.pas


Pascal

 run\JvDataProvider.pas
 functionDP_FindItemsIntf(AItem: IJvDataItem; IID: TGUID; outObj): Boolean;


Parameters

Parameters Description
AItem: IJvDataItem Data item for which the nearest implementation is to be found.
IID: TGUID GUID value or interface type of the interface to find.
out Obj Variable to retrieve the reference to the requested interface in.

run\JvDataProvider.pas


Description

DP_FindItemsIntf locates the nearest IJvDataItems support interface implementation for a specific item. The function will scan the parent chain for the first item list to implement the requested interface and returns a reference to it.
If none of the item lists in the parent chain implement the requested interface the function returns False, otherwise True will be returned.

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