[Lazarus] Increasingly frustrated with DbGrids

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Nov 2 13:13:32 CET 2015


On Mon, 2 Nov 2015 13:02:14 +0100
Luca Olivetti <luca at wetron.es> wrote:

>[...]
> > The IDE does not know about your new class.
> > You need to unregister the old and register the new.
> 
> it doesn't matter: the ide uses the old class, but the unit (and the 
> grid) will see the new one.
> It's a hack, really, which will probably bite me in the rear somewhere 
> in the future, but I have to ship the programme now :-(

Your 'hack' is totally fine, if you know about it.

I merely wanted to point out that 'TComboBox =
class(stdctrls.TComboBox)' is not a 'hack' and has no special effect.

Mattias




More information about the Lazarus mailing list