Hi,

I am considering a bounty for someone to implement Visual Form
Inheritance (VFI) into Lazarus. I am working on a fairly large
project, and VFI will be a hell of a time-saver! It needs to work like
Delphi, but if there could be made some improvements, even better (I
know Visual Studio works slightly different to Delphi, but I don't
know the details).  I am trying to decide on a bounty value that will
be fair for the amount of work involved.  Below is the features I can
think of, off the top of my head.

For example:
FormA adds a Button and a Edit component.  FormB descends from FormA,
so I can see the Button and Edit in FormB.  For now, FormB looks
identical to FormA.

* File New will have to change, so you can select existing forms in
you project to descend from.

* You cannot delete components introduced in ancestral forms. Using
our example. I cannot delete the Button in FormB. Lazarus should popup
and say in was introduced in a ancestral form. I know Visual Studio
puts a little image of a lock or something in the corner of the
component, to visualy show that it was introduced in a ancestral form,
but this is not that important, only a nice-to-have.

* I can change the properties of the Button and Edit components in
FormB. eg: Change the Caption of the Button, Resize the Button, etc.

* If I move the Button in FormA and I haven't modified any of the
positioning properties of the Button in FormB, the Button in FormB
will also move.

* Continuing from my previous point. If I have moved the Button in
FormB (overriding the position values), moving the button in FormA,
will have no affect in FormB.  This is normal class inheritance
behaviour, FormB overrides the properties set by FormA.


I know the form parser in Lazarus can handle descendant forms already,
without giving any errors.  Not sure how complete it is, but this info
was given to me from Mattias in a previous post about VFI.

So what would such a bounty be worth? $300 - $400?  This is
negotiable.  Anybody interested in implementing this?  From a previous
post regarding VFI, I know quite a few people will benefit from it and
it is still one of the major stumbling block for corporate developers
to embrace Lazarus.  Not to mention I just can't wait for post 1.x of
Lazarus for this. :-)


Regards,
 - Graeme -

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to