JVCL Help:TJvInspectorSetMemberData.New@TJvCustomInspectorItem@Integer@TJvCustomInspectorData

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

Search in JVCL Help

 
Search in all projects
 

Summary

Instantiate a data instance and attaches an item to it.


Pascal

 classfunctionNew(constAParent: TJvCustomInspectorItem; constOrdinal: Integer; constADataParent: TJvCustomInspectorData): TJvCustomInspectorItem; overload; reintroduce;


Parameters

Parameters Description
const AParent: TJvCustomInspectorItem The parent to which this data should be added.
const Ordinal: Integer The ordinal value of the member that is to be inspected.
const ADataParent: TJvCustomInspectorData A reference to the parent data instance. Since a set member belongs to a set that is referenced by another data instance, this data instance should be handed over to this instance.


Description

New instantiates a new data instance with the given parameters. If the data referred to by the given parameters already exists, the item will be attached to that data instance, instead of creating a new data instance.
TJvInspectorSetMemberData implements New to allow you to give both the ordinal value as well as a reference to the data instance that references the set.


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