[Pas2js] Picture serialisation into Pascal

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Dec 10 09:45:58 CET 2018


On Mon, 10 Dec 2018 09:11:59 +0100 (CET)
Michael Van Canneyt <michael at freepascal.org> wrote:

> A couple of remarks.
> 
> > I) Parent property, this property should be the first property, for
> > instance:  
> 
> In general, this is incorrect. There should be no reason for this: 
> a component must be able to handle this. 
> The setting of properties can happen in any order, including parent.
> If the component cannot handle this, it is badly written.

Delphi components cannot.
Delphi forces the order by keeping the order of the published
properties in source.

 
Mattias


More information about the Pas2js mailing list