IDE Window: Object Inspector/fr
The "Object Inspector" window allows you to explore and edit the properties of objects. Objects here are TPersistent descendants like a TForm or a TButton or a TOpenDialog.
On the top there is a tree showing the components of the currently edited designer form (or datamodule or frame or whatever).
The biggest part of the Object Inspector are the 3 property grids called 'Properties', 'Events' and 'Favorites'. Each property grid show a subset of the published properties of the selected components.
The Object Inspector is a useful tool for debugging your own programs. How to add the Object Inspector to your own programs is demonstrated in examples/objectinspector.
Set to default
Set the property value to the default value. For example:
property Position: TPosition read FPosition write SetPosition default poDesigned;
Here poDesigned is the default.
Note: Not every property has a default value. Default values defined by the stored functions are ignored by this function.
Discard changes of the edit field and restore the value of the current property. Do not confuse this with the value from the disk.
Jump to declaration
Jump to the source declaration of the property. This will be the last one. For example TForm.Left is published in the class TForm and defined in TControl. You can jump easily to the other declaration, by doing a find declaration on the name again and again, until you are the lowest definition (Alt+Up or Ctrl+LeftClick). You can jump back with Ctrl+H.
Copy property to clipboard and set the value empty.
Copy property to clipboard.
Paste value from clipboard to property.
Set value empty.
Enable showing hints. Hints are shown, when mouse stops a few seconds over a property.
Show component tree
Show or Hide the component tree at the top of the object inspector.
Configure some options of the Object Inspector.