Table of Contents

TIDEPaletteButtons Class

Component palette control for the Scripter Studio IDE that displays registered components using a category-style layout.

Remarks

TIDEPaletteButtons is the component palette control used in the Scripter Studio IDE. It displays all registered components available to be used in the form designer. This toolbar provides the palette-style used in Delphi 2005 IDE and above. If you want an older-style component toolbar (Delphi 7 and below), the proper component is the TIDEPaletteToolbar. It contains a key property Engine which connects the designer to a TIDEEngine component so that it integrates itself automatically in the IDE and allows that communication with other IDE components.

Syntax

Unit: IDEMain

TIDEPaletteButtons = class(TCategoryButtons);

Methods

Name Description
Populate Rebuilds the list of categories and components. Call Populate to update the control, often used after you register (or unregister) some components and want the toolbar to reflect the changes.

Properties

Name Description
CategoryColor CategoryColor specifies the background color for the category names in the toolbar. The background is displayed in a gradient, so this property specifies the start color. Use CategoryColorTo property for the end color.
CategoryColorTo CategoryColorTo specifies the background color for the category names in the toolbar. The background is displayed in a gradient, so this property specifies the end color. Use CategoryColor property for the start color.
Engine Points to the TIDEEngine component that will perform all IDE control.
Filter Gets or sets the filter string used to limit which components are displayed in the palette toolbar.
Filtered If Filtered property is true, the toolbar filters the components being displayed. It will only display thos components which name matches the filter string provided in the Filter property.