JVCL Help:TJvInspectorEventData.New@TJvCustomInspectorItem@string@PTypeInfo
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvInspectorEventData.New Method
[+] TJvInspectorEventData Events
[+] TJvInspectorEventData Methods
Search in JVCL Help
Search in all projectsSummary
Instantiate a data instance and attaches an item to it.
Pascal
classfunctionNew(constAParent: TJvCustomInspectorItem; constAName: string; ATypeInfo: PTypeInfo): TJvCustomInspectorItem; overload; reintroduce;
Parameters
Parameters | Description |
const AParent: TJvCustomInspectorItem | The parent to which this data should be added. |
const AName: string | Name of the data instance. |
ATypeInfo: PTypeInfo | Default RTTI pointer for the data object. |
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.
TJvInspectorEventData reimplements new to set both a name and the type info for the new instance. If a data instance with the given name and type info already exists, that instance will be used and a new item attached to it.
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