Sign in Join

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

Mailing lists / lazarus / 2013-03

Visual Form Inheritance from Package.

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Donald Ziesig

Hi All!

I have some base forms that I am using successfully in several projects. I decided to put the common code into a package, including the base forms.

Unfortunately, when I try to inherit from them they do not appear in the list New | Inherited Project Component, even though the package is available to the project (only the main form from the project is available).

Am I trying to take a leap too far? If so, I will submit a bug report and try to create a suitable patch.

I am going to try a simple project with the base forms included in the project directly to be sure that I didn't mess something up when I built the package. I don't think I did because the original projects still compile and work properly.

Don Ziesig

Reply by email

Mattias Gaertner
to Donald Ziesig
Show quoted text 12 lines
Hi All! I have some base forms that I am using successfully in several projects. I decided to put the common code into a package, including the base forms. Unfortunately, when I try to inherit from them they do not appear in the list New | Inherited Project Component, even though the package is available to the project (only the main form from the project is available). Am I trying to take a leap too far? If so, I will submit a bug report and try to create a suitable patch.

Please create a bug report.

I am going to try a simple project with the base forms included in the project directly to be sure that I didn't mess something up when I built the package. I don't think I did because the original projects still compile and work properly.

Mattias

Reply by email