Difference between revisions of "IDE Window: Object Inspector"

From Lazarus wiki
Jump to navigationJump to search
 
Line 1: Line 1:
The "Object Inspector" is the window allows to explore and edit the properties of objects. Objects are here TPersistent decsendants like a TForm or a TButton or a TOpenDialog.
+
The "Object Inspector" window allows to explore and edit the properties of objects. Objects are here TPersistent decsendants 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).
 
On the top there is a tree showing the components of the currently edited designer form (or datamodule or frame or whatever).

Revision as of 14:06, 29 April 2006

The "Object Inspector" window allows to explore and edit the properties of objects. Objects are here TPersistent decsendants 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 demonstarted in examples/objectinspector.