Tool Palette

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 Tool Palette panel provides a range of visual and non-visual components with which to build script forms when writing scripts using DelphiScript (*.pas), VBScript (*.vbs) or JavaScript (*.js).

Content and Use

The script form components are divided over seven distinct categories:

Standard


For more information about each of the controls available in this category, either click on a component in the image above or refer to the Standard Tab section of the Component Palette Reference - located in the Inside the Altium Designer Environment\Scripting area of the Altium Designer Documentation Library.

Additional


For more information about each of the controls available in this category, either click on a component in the image above or refer to the Additional Tab section of the Component Palette Reference - located in the Inside the Altium Designer Environment\Scripting area of the Altium Designer Documentation Library.

Win32


For more information about each of the controls available in this category, either click on a component in the image above or refer to the Win32 Tab section of the Component Palette Reference - located in the Inside the Altium Designer Environment\Scripting area of the Altium Designer Documentation Library.

System


For more information about each of the controls available in this category, either click on a component in the image above or refer to the System Tab section of the Component Palette Reference - located in the Inside the Altium Designer Environment\Scripting area of the Altium Designer Documentation Library.

Dialogs


For more information about each of the controls available in this category, either click on a component in the image above or refer to the Dialogs Tab section of the Component Palette Reference - located in the Inside the Altium Designer Environment\Scripting area of the Altium Designer Documentation Library.

Win 3.1


For more information about each of the controls available in this category, either click on a component in the image above or refer to the Win3.1 Tab section of the Component Palette Reference - located in the Inside the Altium Designer Environment\Scripting area of the Altium Designer Documentation Library.

Altium XP Standard


For more information about each of the controls available in this category, either click on a component in the image above or refer to the Altium Standard Tab section of the Component Palette Reference - located in the Inside the Altium Designer Environment\Scripting area of the Altium Designer Documentation Library.
Each category can be individually expanded or collapsed using the expand/collapse control at its top-left corner. Alternatively, double-click on the category (away from component entries) to expand/collapse as required.
Collapsed categories may also be expanded, on an individual basis, using the pop-up menu associated with the Categories button.

All categories may be expanded or collapsed simultaneously using the commands available from the panel's right-click menu.

Placing Components on a Script Form

Components can be placed from the panel onto the active script form in one of two ways:

  • Default Placement - double-click on the entry in the panel for the component you wish to place. An instance of the component will be placed, by default, at the center of the form, from where you can subsequently drag it to the required position
  • Controlled Placement - click once on the entry in the panel for the component you wish to place and then click within the script form at the position you want the component instance to appear. The component will be placed with its top-left corner at the point you define. Using this method you can resize components upon placement (where applicable) by clicking and dragging within the script form.

Use the button to deselect the currently selected component in the panel or, alternatively, click on another component.

Right-click Menu

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

  • Include Captions - use this option to toggle the display of component captions in the panel.


With this option disabled, the captions become available as tool-tips, when the cursor is hovered over a component entry

  • Small - use this option to display small-sized component button entries
  • Medium - use this option to display medium-sized component button entries
  • Large - use this option to display large-sized component button entries

Options sub-menu - provides the following commands:

  • Auto Collapse Categories - with this option enabled, only one component category can be expanded at any given time. Expanding another category will cause the existing (already expanded) category to be automatically collapsed
  • Monochrome - use this option to toggle the background color for each category between color (disabled) and monochrome (enabled)

  • No Gradient - enable this option to disable the use of color gradient for category backgrounds, thereby keeping the same level of color for the entire background

  • Horizontal Gradient - enable this option to provide a horizontal color gradient for category backgrounds, whereby the background color gradually gets lighter in shade from left to right

  • Vertical Gradient - enable this option to provide a vertical color gradient for category backgrounds, whereby the background color gradually gets lighter in shade from top to bottom

  • Vertical Flow Layout - disable this option to display the component categories in a horizontal fashion (instead of the default vertical layout), as shown below:


Collapse All - collapse all categories in the panel
Expand All - expand all categories in the panel.

Notes

  • All components used in the panel descend from TComponent in the Borland Delphi Visual Component Library
  • All components in the panel have associated Properties, Methods and Events, where:
    1. A property is a characteristic of an object that influences either its visible behavior or its operations. For example, the Visible property determines whether an object can be seen or not on a script form
    2. A method is a procedure that is always associated with an object and defines the behavior of that object
    3. An event is an action or occurrence detected by the script. In a script the programmer writes code for each event handler which is designed to capture a specific event such as a mouse click
  • The properties and events of a component can be interrogated and modified after placement using the Object Inspector panel
  • 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的资讯,并允许其改变您的通知首选项。