|
Using inherited events
TComponentInspector inherits some events from TCommonInspector component, but this events pass to the handler the index of the selected property instead of the property itself. This problem can be solved using the Properties property of TComponentInspector component and the selected property can be obtained by passed TheIndex.
with Sender as TComponentInspector do
if Assigned(Properties[TheIndex]) then
with Properties[TheIndex] do ...
|