tags:

views:

79

answers:

1

So, I created a new component, derived from an existing TControl type.

When I installed it, it appeared on the Component Palette (is that what it's called) at the top of Delphi at design time, to allow me to add it to a form.

How do I change its tooltip text -the one that shows if I hover over the Component Palette at deign time?

A: 

The tooltip is automatically build from the component characteristics; depending on the version of Delphi, it will be different:

  • D2007:
    ClassName(Unit.Ancestor Class).
    for example: TDataSource(Classes.TPersistent) or TButton(Controls.TControl)

  • D2010:

    Name: Classname
    Unit: UnitName
    Package: PackageName

like

Name: TButton
Unit: StdCtrls
Package: dclstd140.bpl
François
Do you have any idea where this is done in the Delphi source? I would like to change the behaviour to show the Hint property.
Mawg
The tooltip is managed by the IDE itself. You have no access to that source code, and no control over the design-time tooltips.
Remy Lebeau - TeamB