TTeeInspector

TTeeInspector
Hierarchy     Properties     Methods     Events     

Unit
TeeInspector

Description
Useful control to edit a group of properties.
Similar to Delphi's IDE Inspector window.

The advantadge of TeeInspector is that it does not need a class structure with predefined properties.
Every item in the inspector can be a custom object, string or boolean variable, etc.

Items can be added at design-time and runtime.

Every item is of type TInspectorItem with its own properties like Caption, OnChange event, etc.

Runtime Example:

TeeInspector1.Items.Clear;
TeeInspector1.Items.Add(iiFont,'Font',Button1.Font);

The inspector will show an item with the font name of Button1.Font, and a ellipsi button.
Clicking the button shows the font editor dialog to modify Button1.Font.