Links
EControl Form Designer Pro
TToolList Class

Tool list represents item list organized in categories.

TToolList = class(TCustomToolList);

ecToolList

Items in tool list has caption, image and hint. Categories may be collapsed. Items may be filtered.

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. 
TToolList Class
Topic 
Description 
The properties of the TToolList class are listed here. 
 
Method 
 
virtual 
 
protected 
 
Property 
 
read only 
 
Event 
TCustomToolList Events 
Description 
Occurs when items order was changed. 
Occurs when selected item is changes. 
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. 
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. 
TToolList Class
TToolList 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. 
Indicates the image used to represent the mouse pointer when the control is being dragged. 
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. 
Determines which image list is associated with the tool list. 
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. 
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 items order was changed. 
Occurs when selected item is changes. 
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 whether item can be selected by mouse right click. 
Specifies space between two sequential items. 
Currently selected item 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 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!