How to gain access to the component when deviating from TppJvCustomInspectorItem?
Hi,
as topic name says, I wonder how to gain access to the component I want
to create a custom editor for one of its properties.
There is a Data.AsOrdinal from which I can get the property value only,
I think. But if I need to access other properties of the component, what
do I have to do then? The problem is, the property I need to edit, is a
simple Integer value, so I don't have anything like an owner or something.
Hope you can help, thanks in advance.
as topic name says, I wonder how to gain access to the component I want
to create a custom editor for one of its properties.
There is a Data.AsOrdinal from which I can get the property value only,
I think. But if I need to access other properties of the component, what
do I have to do then? The problem is, the property I need to edit, is a
simple Integer value, so I don't have anything like an owner or something.
Hope you can help, thanks in advance.
This discussion has been closed.
Comments
Sorry for missing information (if needed):
Delphi 7, RB 11.06
For an example check out TppInspectorDialogItem.GetComponent in
ppInspector.pas.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Worked for me, thanks.