[Lazarus] nonlcl widgetsets

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jun 11 16:17:10 CEST 2014


On Wed, 11 Jun 2014 14:37:28 +0200
Giuliano Colla <giuliano.colla at fastwebnet.it> wrote:

> Hi Lazarus wizards,
> 
> I'm interested in the nonlcl topic, and I tested the source found in the 
> examples (designnonlcl).
> But, getting it from trunk I stumbled into an error:
> 
> in the module mywidgetdesigner.pas,
> 
> /procedure GetObjInspNodeImageIndex(APersistent: TPersistent; var 
> AIndex: integer); override;/
> 
> it complains that there's no ancestor method to override.

That is new in Lazarus 1.3.

 
> This procedure appears to be currently unused, and commenting it out 
> makes it possible to compile, and play with the example.

ok.

 
> Then I checked a previous stable version of Lazarus which I had at hand 
> (version 1.0.8), and I noticed that this procedure isn't there.
> 
> Now my question is: is getting the NodeImageIndex a stale remnant of the 
> past, or a new feature one must be aware of, because it'll come into 
> play in future (making therefore unwise to develop anything before the 
> dust settles)?

It's new and it is not "abstract", so it is optional.

Mattias




More information about the Lazarus mailing list