Links
EControl Form Designer Pro
TPaletteToolList Class

Represents component palette in BDS style.

TPaletteToolList = class(TCustomToolList, IClassSelector);

edcToolList

Tool list contains components from component palette. Component page is represented by the tool list category. Items may be easily adjusted by user using drag&drop operations.

Topic 
Description 
The methods of the TCustomToolList class are listed here. 
The properties of the TCustomToolList class are listed here. 
The events of the TCustomToolList class are listed here. 
IClassSelector Interface
Topic 
Description 
The methods of the IClassSelector class are listed here. 
TPaletteToolList Class
Topic 
Description 
The methods of the TPaletteToolList class are listed here. 
The properties of the TPaletteToolList class are listed here. 
The events of the TPaletteToolList class are listed here. 
 
Method 
 
virtual 
 
protected 
 
private 
 
Property 
 
read only 
 
Event 
TCustomToolList Events 
Description 
Occurs when items order was changed. 
Occurs when selected item is changes. 
TPaletteToolList Class
TPaletteToolList Class 
Description 
Occurs when component palette was changed. 
TCustomToolList Methods 
Description 
Collapses all categories. 
Creates and initializes a TCustomToolList instance. 
Destroys an instance of TCustomToolList. 
Draws item image. 
Expands all categories. 
Returns index of category item at the given position or above. 
Returns items at the given position. If there are no item at the specified position function returns -1. 
Called when selected item was changed. 
Returns rectangle occupied by the item. 
Called after items were rearranged by the drag&drop operations. 
Called when items were changed (any changes). 
Calculates total height of items. 
Scrolls list to make specified item topmost item. 
Scrolls list to make specified item visible. 
Calls TToolListItem.Paint and allows to customize item rendering in derived classes. 
Selects first visible, i.e. not hidden, item. 
IClassSelector Interface
IClassSelector Interface 
Description 
Called when selected in component palette component class was changed. 
Called when component palette was changed. 
TPaletteToolList Class
TPaletteToolList Class 
Description 
Called when selected in component palette component class was changed. 
Called when component palette was changed. 
Returns associated component class info for toll item at Index position. 
Creates and initializes a TPaletteToolList instance. 
Destroys an instance of TPaletteToolList. 
Draws item image. 
Called when selected item was changed. 
Called after items were rearranged by the drag&drop operations. 
Scrolls tool list to make category visible. 
TCustomToolList Properties 
Description 
Specifies whether items can be arranged by the drag&drop operations. 
Specifies whether all categories should be collapsed when one category is expanded or collapsed. 
Specifies height of category item. 
Specifies whether items are filtered. 
Specifies filter string which is used to test item Caption. 
Holds folding icon images. 
Provide properties to adjust hints processing. 
Determines which image list is associated with the tool list. 
Specifies item index at which dragged object can be dropped. 
Specifies height of the normal item. 
Indicates which item is selected. If no item is selected ItemIndex is equal to -1. 
Provides access to items displayed in tool list. 
Indicates item over which mouse cursor is located. 
Specifies whether item can be selected by mouse right click. 
Specifies space between two sequential items. 
Currently selected item in tool list. 
Specifies style of category items. 
Specifies style of category item when mouse is over it. 
Specifies style of selected category item. 
Specifies style of tool items. 
Specifies style of tool item when mouse is over it. 
Specifies style of selected tool item. 
Specifies whether category item should be displayed vertically along owned items. 
Specifies scrolling position of the tool list control. 
TPaletteToolList Class
TPaletteToolList Class 
Description 
Determines how the control aligns within its container (parent control). 
Specifies whether items can be arranged by the drag&drop operations. 
Specifies how the control is anchored to its parent. 
Specifies whether all categories should be collapsed when one category is expanded or collapsed. 
Specifies which edges of the control are beveled. 
Specifies the cut of the inner bevel. 
Specifies the control’s bevel style. 
Specifies the cut of the outer bevel. 
Specifies the bi-directional mode for the control. 
Specifies height of category item. 
Specifies the background color of the control. 
Specifies the size constraints for the control. 
Determines whether a control has a three-dimensional (3-D) or two-dimensional look. 
Allows managing of items in component toll list.
Item in list means:

1. Specification component item
ComponentClassName

2. Specification new category
+CategoryName

3. Specification existed category (components page) with adding all components which belong to this page.
++CategoryName

4. Rename existed category (components page) with adding all components which belong to this page.
++CategoryName=Display_name_of_category

5. Adding all components which belong to the page without adding category.
++CategoryName= 
Indicates the image used to represent the mouse pointer when the control is being dragged. 
Specifies drag image when dragging component on form. 
Specifies whether the control is being dragged normally or for docking. 
Determines how the control initiates drag-and-drop or drag-and-dock operations. 
Controls whether the control responds to mouse, keyboard, and timer events. 
Specifies whether items are filtered. 
Specifies filter string which is used to test item Caption. 
Holds folding icon images. 
Font 
Controls the attributes of text written on or in the control. 
Provide properties to adjust hints processing. 
Specifies height of the normal item. 
Provides access to items displayed in tool list. 
Occurs when an attempt is made to resize the control. 
Occurs when the user clicks the control. 
Adjust resize constraints. 
Occurs when the user right-clicks the control or otherwise invokes the popup menu (such as using the keyboard). 
Occurs when the user double-clicks the left mouse button when the mouse pointer is over the control. 
Occurs when the user drops an object being dragged. 
Occurs when the user drags an object over a control. 
Occurs when the dragging of an object ends, either by dropping the object or by canceling the dragging. 
Occurs when a control receives the input focus. 
Occurs when the input focus shifts away from one control to another. 
Occurs when a user presses any key while the control has focus. 
Occurs when key pressed. 
Occurs when the user releases a key that has been pressed. 
Occurs when the user presses a mouse button with the mouse pointer over a control. 
Occurs when the user moves the mouse pointer while the mouse pointer is over a control. 
Occurs when the user releases a mouse button that was pressed with the mouse pointer over a component. 
Occurs immediately after the control is resized. 
Occurs when the user begins to drag the control or an object it contains by left-clicking on the control and holding the mouse button down. 
Specifies whether the control uses its parent’s BiDiMode. 
Determines where a control looks for its color information. 
Determines where a component looks to determine if it should appear three dimensional. 
Determines where a control looks for its font information. 
Determines where a control looks to find out if its Help Hint should be shown. 
Identifies the pop-up menu associated with the control. 
Specifies space between two sequential items. 
Specifies whether button captions displayed in tool list. 
Determines whether the control displays a Help Hint when the mouse pointer rests momentarily on the control. 
Specifies style of category items. 
Specifies style of category item when mouse is over it. 
Specifies style of selected category item. 
Specifies style of tool items. 
Specifies style of tool item when mouse is over it. 
Specifies style of selected tool item. 
Indicates the position of the control in its parent's tab order. 
Determines if the user can tab to a control. 
Specifies whether bottom-left pixel is transparent color. If TransparentImages is False, images are drawn without transparency. 
Specifies whether category item should be displayed vertically along owned items. 
Determines whether the component appears on screen. 
Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!