Difference between revisions of "IDE Window: Object Inspector"

From Lazarus wiki
Jump to navigationJump to search
m
m
Line 1: Line 1:
 
{{IDE Window: Object Inspector}}
 
{{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.
+
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).
 
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 03:49, 12 June 2006

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

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.