JVCL Help:TJvInspectorComponentItem

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

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvCustomInspectorItem
TJvInspectorClassItem
TJvInspectorComponentItem
run\JvInspector.pas


Summary

Component inspector item.

run\JvInspector.pas


Pascal

 run\JvInspector.pas
 TJvInspectorComponentItem = class(TJvInspectorClassItem);


Description

TJvInspectorComponentItem is an inspector item that allows component values to be edited. The item is derived from TJvInspectorClassItem and as such allows published properties of an assigned component to be viewed. The iifValueList flag, however will be fixed to allow components to be picked and the icfShowClassName flag will be suppressed (ShowClassName property will be False).
In addition the item provides properties that control the way the component names are added. You can specify to show no owner names, all owner names or all but the first owner names. You can also specify the order of the components.

  • To specify the assigned component properties should be shown, set the CreateClassMembers property to True.
  • To specify that owner names are to be shown, set the ShowOwnerNames property to True.
  • To specify that the first owner name should not be shown, set NoShowFirstOwnerName to True in addition to setting ShowOwnerNames to True.
  • To specify that the component list should be sorted by owner, set SortOwners to True.
  • To specify that the components of the first owner should show first regardless of any sorting, setKeepFirstOwnerAsFirst to True.
  • To specify that the component list should be sorted by component name, set SortComponents to True.
  • Use AddOwner to add a list of component owners (such as forms and data modules) to be scanned for assignable components.
  • Optionally in addition to or instead of the above AddOwner, assign an OnGetValueList event handler to provide additionally selectable components.
    TJvCustomInspectorData registers this item for the TComponent type.

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