[Lazarus] How to create hints in the IDE

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jul 25 11:39:40 CEST 2010


On Sun, 25 Jul 2010 02:26:14 +0200
Bernd Kreuss <prof7bit at googlemail.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Mattias Gaertner wrote:
> One simple label, that simply
> > strips the html. And one from turbopoweripro package. When you install
> > the package it replaces the label.
> 
> I have thought it was THintWindow, but this one does not seem to be able
> to strip the tags and also will not be replaced with the turbopoweripro one.

It's a THintWindow, but with a control inside.
See TSourceNotebook.ActivateHint how to use it.
Code is in helpmanager.pas
 
> Which one should I use? where is the code that initializes this window?
> I cant find it and in TSourceNotebook.ActivateHint it does:
> 
> FHintWindow:=THintWindow.Create(Self);
> 
> I am doing the same but wont get the label that will strip the tags. It
> looks exactly the same but it simply wont strip the tags and also not be
>  replaced by turbopoweripro. Where is the label that I really want?


Mattias




More information about the Lazarus mailing list