Table of Contents

TIDEGetComponentImageEvent Type

Event type used to provide a custom icon for a registered component displayed in the palette toolbar.

Remarks

TIDEGetComponentImageEvent is an opportunity to provide an icon for a component to be displayed in the palette toolbar. The event is fired for every component to be displayed. The RegComp parameter contains the TIDERegisteredComp object which contains information about the component. You must provide the icon in the ABitmap object. You don't need to create a bitmap object, just use ABitmap to load from stream, or from a file, and assign the bitmap to the object. If you have provided a bitmap for the component, set AHandled parameter to true to avoid other images to be assigned for that component.

Syntax

Unit: IDEMain