Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-06

nonlcl widgetsets

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Giuliano Colla

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.

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

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)?

Thank in advance for any hint.

Giuliano

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140611/b497df3e/attachment.html>

Reply by email

Mattias Gaertner
to Giuliano Colla
Show quoted text 12 lines
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.

Show quoted text 7 lines
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

Reply by email

Giuliano Colla
to Mattias Gaertner

Il 11/06/2014 16:17, Mattias Gaertner ha scritto:

Show quoted text 8 lines
On Wed, 11 Jun 2014 14:37:28 +0200 Giuliano Colla wrote: [..] 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.

Thanks again.

Giuliano

Reply by email