JVCL Help:TJvInspectorTypeInfoRegItem

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

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvCustomInspectorRegItem
TJvInspectorTypeInfoRegItem
TJvInspectorTCaptionRegItem
run\JvInspector.pas


Summary

Registration item based on type info

run\JvInspector.pas


Pascal

 run\JvInspector.pas
 TJvInspectorTypeInfoRegItem = class(TJvCustomInspectorRegItem);


Description

TJvInspectorTypeInfoRegItem is a registration item that bases its matching value on the type info it represents and the type info in the data object.
The match value is determined as follows:

Situation Value
Equal RTTI pointers 100
Different RTTI pointers, class type, objects class inherits from the given class. 50
Different RTTI, no class type or not 0 inheriting from class


Thus, if the registration item represents the type info for TComponent and the data instance points to TWinControl, the MatchValue will be 50 (ie. not a perfect match).
The match percentage will be equal to the match value in all cases.

run\JvInspector.pas


About

Navigation

run\JvInspector.pas



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