Object Inspector

Old Content - visit altium.com/documentation

The following content has been imported from Legacy Help systems and is in the process of being checked for accuracy.

Function

The Object Inspector panel enables you to interrogate and edit the properties and events of components in the active script form.

Content and Use

Clicking 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. 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. The form itself is also included.
The information is displayed over two tabs - Properties and Events.

Component Properties

The Properties tab of the panel lists all property attributes for the selected component. The exact list of attributes available will depend on the particular type of component currently under inspection.
A property is a characteristic of an object that influences either its visible behavior or its operations. 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 properties of a component can be modified as required. 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.

Component Events

The Events tab of the panel provides a list of all events that the currently selected component can react upon. Once again, the exact list of events available will depend on the particular type of component currently under inspection.
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. This type of procedure is referred to as an event handler.
The skeletal basis for an event handler can be added to the code of the script document from within the Object Inspector panel. 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. A name is created for the event and used in the definition of the name for the event handling procedure - FormName.EventName. 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.

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.
The bottom section of the panel provides a summary description of the currently selected property or event, where available.

Right-click Menu


The right-click pop-up menu for the panel provides the following commands and options:

  • Show Categories - with this option enabled (default), the entries on both Properties and Events tabs are grouped into specific categories. When disabled, entries appear as a single, alphabetically-sorted list
  • Delphi Style - with this option enabled (default), the panel assumes a Delphi-style look and feel
  • Visual Basic Style - with this option enabled, the panel assumes a Visual Basic-style look and feel.

Notes

  • Multiple components may be selected and edited simultaneously. Those properties/events that are common to all components in the selection will be displayed in the panel. Properties/events that have differing values between components will be displayed as blank. Simply edit the properties and/or events as required - the changes made will be conveyed instantly to each component in the selection.

For example you may wish to change the text used on multiple buttons to a particular font. Select all buttons and change the properties listed under the Font category as required - all buttons will be updated to display their text using the same font.

  • The keyboard shortcuts Up Arrow and Down Arrow can be used to select the previous and next entry in the panel, respectively.
  • For more detailed information with respect to components and their properties, methods and events, refer to the Component Palette Reference, located in the Inside the Altium Designer Environment\Scripting area of the Altium Designer Documentation Library.

See Also

You are reporting an issue with the following selected text and/or image within the active document:
Altium Designer 免费试用
Altium Designer Free Trial
我们开始吧!首先,您或者您的公司已经在使用Altium Designer了吗?

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

既然您在使用Altium Designer,为何仍需要试用?

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

好的,实际上您无需下载一个试用版本。

点击下方按钮下载最新版本的Altium Designer安装包

下载Altium Designer 安装包

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

填写下方表格,获取Altium Designer最新报价。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

如果您是Altium维保期内客户,您不需要下载试用版本。

如果您不是Altium维保客户,请填写下方表格免费试用。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

您为何想要试用Altium Designer?

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

那您来对地方了!请填写下方表格申请试用吧。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

听上去很棒!您知道我们为学生提供了特殊折扣么?欲知详情,请点击这里。.

同时,请填写下方表格申请免费试用吧。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

好的,您可以下载免费的Altium Designer Viewer查看文档,有效期6个月。

请填写下方表格申请。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。

好棒!创作是一件超酷的事情,我们可以为您提供完美的设计软件。

Upverter是一个社区导向的交流平台,专为您这样的创客量身定做。

点击这里看看吧!

如果您有任何需求,请点击这里联系获取当地办公室销售代表联系方式。.
Copyright © 2019 Altium Limited

好的,您可以下载免费的Altium Designer Viewer查看文档,有效期6个月。

请填写下方表格申请。

点击[获取免费试用],并同意我们的隐私政策。您会接收到来自Altium的资讯,并允许其改变您的通知首选项。