Object Inspector
From Delphi for PHP Documentation Wiki
Use the "Object Inspector" to set the properties and events for the currently selected object.
| Tab | Description |
|---|---|
| Properties | Displays the properties for the selected object on a form. |
| Events | Displays the events for the selected object on a form. |
| Javascript | Displays JavaScript events for the selected object on a form. |
The Object Inspector shows a list of properties, events and JavaScript events of PHP components. It also shows a list of attributes for an HTML tag on the visual HTML editor. This list is extracted using DTDs depending on the type of document. Those DTDs are parsed when the IDE starts and are located at <delphiforphp>\schemas folder
The Object Inspector also supports linked properties, that is, properties that make a reference to another component in the same form, or in another used form/datamodule. A linked property can be expanded to show the properties of the referenced component, and there is no limit in the levels this can take. If the Name property is changed, the uniqueness of it must be checked to be unique on the owner form.
Properties can be nested, for example Font.Size, in the Object Inspector, are show in a tree structure allowing the user to collapse and expand. Properties can show a list of valid values to be set, can show an ellipsis button, that, when pressed, show a dialog to set the property, and, can also be of type password, in which the contents are not shown to the user.
Setting a component property updates it in the visual designer to reflect the change. Double clicking or pressing Enter on events or js events generates an empty event for the selected component(s).
Dropping down a combo box for an Event or JavaScript event shows a list of existing event handlers. Pressing Enter in a property stores its value and modifies the component. If the focus comes from the designer (a key was pressed directly on the designer) the focus will be returned to the designer.







