JVCL Help:TJvInspectorPropRegItem

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
TJvInspectorPropRegItem
run\JvInspector.pas


Summary

Registration item for the property data layer

run\JvInspector.pas


Pascal

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


Description

TJvInspectorPropRegItem is a registration item that bases its matching value on the kind of type it represents and the type info in the data object.
The match value is determined by adding one or more values as follows:

Situation Value
ClassType known
class type equal add 32
class type inherits add 16
class does not match return 0
Name known
Name exact match add 8
Name matches by mask add 4
Name does not match return 0
Type info known
Type info exact match add 2
Type info typekind matches add 1
Type info does not match return 0


The percentage will be calculated based on these rules:

Situation Value
Initial 100
ClassType unknown decrease with 10
ClassType known but inherits divide by 2
Name unknown decrease with 5
Name matches by mask divide by 2
Type info unknown decrease by 10
Type info typekind matches divide by 2


When the match value = 0, the percentage will off course also be 0.

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