Recent

Author Topic: Form inheritance  (Read 6659 times)

tomcmok

  • Guest
Form inheritance
« on: June 24, 2006, 03:00:56 pm »
Hi,

I'm considering porting my Delphi framework to Lazarus. The key functionality is form inheritance. I noticed that although in designtime, Lasarus does not work with form inheritance, after compiling things seem to work ok. Is it in the roadmap to implement form inheritance in Lazarus designer.

If you are unsure what I'm talking about - in Delphi, you can go to File -> New... -> current project -> and choose some form with 'Inherit' active below.

Cheers,
Tomasz

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: Form inheritance
« Reply #1 on: June 24, 2006, 05:44:28 pm »
Yes, precisely. It doesn´t work on the designer, but works at run-time.

There is a bug report for this here: http://www.freepascal.org/mantis/view.php?id=705

As you can see, this is set for post 1.0, and the bug was submited more then 1 year ago. So we can much guess this is very low priority.

If you want this included on Lazarus soon, you have 3 options:

1 - Implement this yourself, and send a patch

2 - Create a bounty for this: http://wiki.lazarus.freepascal.org/index.php/Bounties

3 - Wait until someone else sends a patch for it

Anonymous

  • Guest
RE: Form inheritance
« Reply #2 on: June 24, 2006, 06:04:50 pm »
OK, understood - could someone point me to the right place in the Lazarus code, where I can start tracking this bug and eventually fix it. I've got no experience in Lazarus code design, so any hint would help me spare lot of time on just getting familiar with the whole framework.

Thanks,
Tomasz

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: Form inheritance
« Reply #3 on: July 02, 2006, 02:44:49 pm »
Hello. I think you should ask on the mailling list. There there is a higher chance that Mattias and others who know about this see it and answer your question.

Sorry for taking so long to answer.

 

TinyPortal © 2005-2018