Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I see the type of a property in the Object Inspector?

Tags:

delphi

In the form designer, I sometimes need to see the type of a property, so I know what kind of input it expects. Unfortunately the Object Inspector doesn't seem to show it.


Example:

Near-perfect circle

This component clearly wants me to link a "Grid", but I have no idea what type of grid I need. TDbGrid? TDrawGrid? TColorGrid? TGridPanel?

Of course I can see this by looking into the source of the component, but does anyone know a faster way?

like image 613
Wouter van Nifterick Avatar asked Sep 15 '09 00:09

Wouter van Nifterick


People also ask

What does the object Inspector let you do?

The Object Inspector panel enables you to interrogate and edit the properties and events of components in the active script form.

How do I open an object inspector in Delphi?

View > Tool Windows > Object Inspector F11 reopens the Object Inspector. F11 moves the focus to the filter box on the Object Inspector, and toggles between the Object Inspector and the last active form or Code Editor file. Use the Object Inspector to edit property values and event-handler links.


1 Answers

Unfortunately, there doesn't seem to be any way to get at this from the Object Inspector. You can always go into the code somewhere and type JvGridFilter1.Grid and press CTRL-SPACE and see what comes up, but that's pretty much the same as looking into the code. I don't think there's any easier way to do it.

Try submitting that to QC as a feature request.

like image 74
Mason Wheeler Avatar answered Sep 30 '22 18:09

Mason Wheeler