Difference between revisions of "IDE Window: Object Inspector"

From Lazarus wiki
Jump to navigationJump to search
m
Line 1: Line 1:
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.
+
{{IDE Window: Object Inspector}}
 +
 
 +
The "Object Inspector" window allows to explore and edit the properties of objects. Objects are here 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).
 
On the top there is a tree showing the components of the currently edited designer form (or datamodule or frame or whatever).
Line 6: Line 8:
 
Each property grid show a subset of the published properties of the selected components.
 
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.
+
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.

Revision as of 16:57, 30 April 2006

Deutsch (de) English (en) suomi (fi) 日本語 (ja)

The "Object Inspector" window allows to explore and edit the properties of objects. Objects are here 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.