

Show Categories - with this option enabled (default), the entries on both Properties and Events tabs are grouped into specific categories.The right-click pop-up menu for the panel provides the following commands and options: The bottom section of the panel provides a summary description of the currently selected property or event, where available. The 'filling' of the event handling procedure can then be coded to provide the desired response when the event occurs and is detected by the running script.
#DELPHI OBJECT INSPECTOR CODE#
The skeleton code for the event handling procedure is then added to the main script code, which is made the active tab in the design editor window. A name is created for the event and used in the definition of the name for the event handling procedure - FormName.EventName. Simply select the component you wish to define an event for, choose the particular type of event and then double-click inside the field to the right of the event. The skeletal basis for an event handler can be added to the code of the script document from within the Object Inspector panel. This type of procedure is referred to as an event handler. When an event occurs, such as a button on a form being clicked, the script will take the appropriate action, providing a handling procedure for the event has been defined in the code. Once again, the exact list of events available will depend on the particular type of component currently under inspection.

The Events tab of the panel provides a list of all events that the currently selected component can react upon. Click inside the field to the right of a property and either type directly, toggle a check box or select an entry from a drop-down, as appropriate. The properties of a component can be modified as required.

For example, the Visible property (in the Behavior sub-category) determines whether or not the object is displayed on the script form on which it is placed. The exact list of attributes available will depend on the particular type of component currently under inspection.Ī property is a characteristic of an object that influences either its visible behavior or its operations. The Properties tab of the panel lists all property attributes for the selected component. The information is displayed over two tabs - Properties and Events. Alternatively, use the drop-down field at the top of the panel to choose from a list of all components currently placed on the active form. Content and UseĬlicking on a single component on the active script form in the design editor window will select the component and display attributes associated to it in the Object Inspector panel.

The Object Inspector panel enables you to interrogate and edit the properties and events of components in the active script form. The following content has been imported from Legacy Help systems and is in the process of being checked for accuracy.
