JVCL Help:TJvInspectorVarData.New@TJvCustomInspectorItem@string@PTypeInfo@Pointer

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; constAName: string; ATypeInfo: PTypeInfo; constAAddress: Pointer): TJvCustomInspectorItem; overload; reintroduce;


Parameters

Parameters Description
const AParent: TJvCustomInspectorItem The parent to which this data should be added.
const AName: string Default name for the data object
ATypeInfo: PTypeInfo Default RTTI pointer for the data object
const AAddress: Pointer The address where the data is located. Alternatively you could use the overloaded version where you can specify a variable.


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.
TJvInspectorVarData implements New to allow you to specify a name, type information and either an address or a variable.


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